**What is the difference between Bias and Variance?**

**Bias**:

Bias can be defined as a situation where an error has occurred due to use of assumptions in the learning algorithm.

**Variance:**

Variance is an error caused because of the complexity of the algorithm that is been used to analyze the data.

**What is the difference between supervised and unsupervised machine learning?**

A Supervised learning is a process where it requires training labeled data. When it comes to Unsupervised learning it doesn’t require data labeling.

**How is KNN different from K-means clustering?**

KNN stands for K- Nearest Neighbours, it is classified as a supervised algorithm.

K-means is an unsupervised cluster algorithm.

**Explain what is precision and Recall?**

Recall:

Recall:

It is known as a true positive rate. The number of positives that your model has claimed compared to the actual defined number of positives available throughout the data.

**Precision:**

It is also known as a positive predicted value. This is more based on the prediction. It is a measure of a number of accurate positives that the model claims when compared to the number of positives it actually claims.

**What is your favorite algorithm and also explain the algorithm in briefly in a minute?**

This type of questions is very common and asked by the interviewers to understand the candidate skills and assess how well he can communicate complex theories in the simplest language.

**What is the difference between Type 1 and Type 2 errors?**

Type 1 error is classified as a false positive. I.e. This error claims that something has happened but the fact is nothing has happened. It is like a false fire alarm. The alarm rings but there is no fire.

Calling a man to be pregnant- This is Type 1 example

Calling pregnant women and telling that she isn’t carrying any baby- This is type 2 example

**Define what is Fourier Transform in a single sentence?**

A process of decomposing generic functions into a superposition of symmetric functions is considered to be a Fourier Transform.

**What is deep learning?**

Deep learning is a process where it is considered to be a subset of machine learning process.

**What is the F1 score?**

The F1 score is defined as a measure of a model’s performance.

**How is F1 score is used?**

The average of Precision and Recall of a model is nothing but F1 score measure. Based on the results, the F1 score is 1 then it is classified as best and 0 being the worst.

**How can you ensure that you are not overfitting with a particular model?**

In Machine Learning concepts, they are three main methods or processes to avoid overfitting:

Must and should use cross validation techniques

It is mandatory to use regularization techniques, for example, LASSO.

**How to handle or missing data in a dataset?**

An individual can easily find missing or corrupted data in a data set either by dropping the rows or columns. On contrary, they can decide to replace the data with another value.

isnull() and dropna().

**Do you have any relevant experience on Spark or any of big data tools that are used for Machine Learning?**

Well, this sort of question is tricky to answer and the best way to respond back is, to be honest. Make sure you are familiar with Big data is and the different tools that are available. If you know about Spark then it is always good to talk about it and if you are unsure then it is best, to be honest and let the interviewer know about it.

**Pick an algorithm and write a Pseudocode for the same?**

This question depicts your understanding of the algorithm. This is something that one has to be very creative and also should have in-depth knowledge about the algorithms and first and foremost the individual should have a good understanding of the algorithms. Best way to answer this question would be start off with Web Sequence Diagrams.

**What is the difference between an array and Linked list?**

An array is an ordered fashion of collection of objects.

A linked list is a series of objects that are processed in a sequential order.

**Define a hash table?**

They are generally used for database indexing.

A hash table is nothing but a data structure that produces an associative array.

**Mention any one of the data visualization tools that you are familiar with?**

This is another question where one has to be completely honest and also giving out your personal experience with these type of tools are really important. Some of the data visualization tools are Tableau, Plot.ly, and matplotlib.

**What is your opinion on our current data process?**

This type of questions are asked and the individuals have to carefully listen to their use case and at the same time, the reply should be in a constructive and insightful manner. Based on your responses, the interviewer will have a chance to review and understand whether you are a value add to their team or not.

**Please let us know what was your last read book or learning paper on Machine Learning?**

This type of question is asked to see whether the individual has a keen interest towards learning and also he is up to the latest market standards. This is something that every candidate should be looking out for and it is vital for individuals to read through the latest publishings.

**What is your favorite use case for machine learning models?**

The decision tree is one of my favorite use case for machine learning models.

**Is rotation necessary in PCA?**

Yes, the rotation is definitely necessary because it maximizes the differences between the variance captured by the components.

**What happens if the components are not rotated in PCA?**

It is a straight effect. If the components are not rotated then it will diminish eventually and one has to use a lot of various components to explain the data set variance.

**Explain why Navie Bayes is so Naive?**

It is based on an assumption that all of the features in the data set are important, equal and independent.

**How Recall and True positive rate are related?**

The relation is

True Positive Rate = Recall.

**Assume that you are working on a data set, explain how would you select important variables?**

The following are few methods can be used to select important variables:

1. Use of Lasso Regression method.

2. Using Random Forest, plot variable importance chart.

3. Using Linear regression.

**Explain how we can capture the correlation between continuous and categorical variable?**

Yes, it is possible by using ANCOVA technique. It stands for Analysis of Covariance.

**Explain the concept of machine learning and assume that you are explaining this to a 5-year-old baby?**

Yes, the question itself is the answer.

**What is the difference between Machine learning and Data Mining?**

Data mining is about working on unstructured data and then extract it to a level where the interesting and unknown patterns are identified.

**What is inductive machine learning?**

Inductive machine learning is all about a process of learning by live examples.

**Please state few popular Machine Learning algorithms?**

1. Nearest Neighbour

2. Neural Networks

3. Decision Trees etc

4. Support vector machines

**What are the different types of algorithm techniques are available in machine learning?**

Some of them are :

1. Supervised learning

2. Unsupervised learning

3. Semi-supervised learning

4. Transduction

5. Learning to learn

**What are the three stages to build the model in machine learning:**

1. Model building

2. Model testing

3. Applying the model

_{}

^{}

Nice article :)

ReplyDeleteI'm a beginner here and this article was very helpful to me. Thank you very much and good luck to everyone!

ReplyDeleteVery useful. Thank you for sharing. I really appreciate your efforts :)

ReplyDeleteThank you! VERY informative.

ReplyDeleteGood Article to read and understand step by step process. I have enjoyed it.

ReplyDelete