Category Archives: Uncategorized

WHAT IS THE DIFFERENCE BETWEEN SUPERVISED LEARNING AN UNSUPERVISED LEARNING?

What is the difference between Supervised Learning an Unsupervised Learning?

If an algorithm learns something from the training data so that the knowledge can be applied to the test data, then it is referred to as Supervised Learning. Classification is an example for Supervised Learning. If the algorithm does not learn anything beforehand because there is no response variable or any training data, then it is referred to as unsupervised learning. Clustering is an example for unsupervised learning.

 
 
 
 
 
 
 
 
 
 
 
 

WHY DATA CLEANING PLAYS A VITAL ROLE IN ANALYSIS?

Why data cleaning plays a vital role in analysis?

Cleaning data from multiple sources to transform it into a format that data analysts or data scientists can work with is a cumbersome process because – as the number of data sources increases, the time take to clean the data increases exponentially due to the number of sources and the volume of data generated in these sources. It might take up to 80% of the time for just cleaning data making it a critical part of analysis task.
 
 
 
 
 
 
 
 
 
 
 

WHY IS CHAR[] PREFERRED OVER STRING FOR PASSWORDS?

Why is char[] preferred over String for passwords?

Strings are immutable. That means once you have created the String, if another process can dump memory, there is no way (aside from reflection) you can get rid of the data before garbage collection kicks in.

With an array, you can explicitly wipe the data after you are done with it. You can overwrite the array with anything you like, and the password won’t be present anywhere in the system, even before garbage collection.

So yes, this is a security concern – but even using char[ ] only reduces the window of opportunity for an attacker, and it’s only for this specific type of attack.

As noted in comments, it’s possible that arrays being moved by the garbage collector will leave stray copies of the data in memory. I believe this is implementation-specific – the garbage collector may clear all memory as it goes, to avoid this sort of thing. Even if it does, there is still time during which the char[ ] contains the actual characters as an attack window.

HOW TO SPECIFY A SUDO PASSWORD FOR ANSIBLE IN NON-INTERACTIVE WAY?

How to specify a sudo password for Ansible in non-interactive way?

We can pass variable on the command line via–extra-vars “name=value”.
Sudo password variable is ansible_sudo_pass.
So your command would look like:
ansible-playbook playbook.yml -i inventory.ini –user=username \
–extra-vars “ansible_sudo_pass=yourPassword”
 
 
 
 
 
 
 
 
 
 
 

WHAT IS THE DIFFERENCE BETWEEN SUPERVISED AND UNSUPERVISED MACHINE LEARNING?

What is the difference between supervised and unsupervised machine learning?

Supervised learning requires training labeled data. For example, in order to do classification (a supervised learning task), you’ll need to first label the data and need to train the model to classify data into your labeled groups. Unsupervised learning, in contrast, does not require labeling data explicitly.

 
 
 
 
 
 
 
 
 
 
 
 

Media Announcement

Media Announcement
” Pro-Tek Consulting is excited to announce the expansion of its services to Australia under the name “Pro-Tek Consulting Australia Pty Ltd”. Pro-Tek Consulting has already proven itself in Staffing, Web Design and Application Development services in USA and India. Pro-Tek’s monthly technical magazine “UI Street” is another successful offering to web development community in both the countries which has been receiving much of accolades from the web development community. Same services are planned to be offered in Australia. This Australian company is expected to be fully operational by the end of 2015. “