Here are 5 Interview Questions(with Answers) asked to my Friend for Microsoft (Machine Learning) Job.

Here are 5 Interview Questions(with Answers) asked to my Friend for Microsoft (Machine Learning) Job.

Q1. How to improve your Model performance?

A. Follow these techniques:

1. Use Validation methods

2. Add more data

3. Apply feature engineering techniques(Normalization, Imputation, etc)

4. Compare Multiple algorithms

5. Hyperparameter Tuning

Q2. Difference between Standardization and Log Transformation.

A. Standardization is the process of putting different variables on the same scale. This process allows you to compare scores between different types of variables. Typically, to standardize variables, you calculate the mean and standard deviation for a variable. Log transformation is a data transformation method in which it replaces each variable x with a log(x). Log-transform decreases skew in some distributions, especially with large outliers. But, it may not be useful as well if the original distribution is not skewed. Also, log transform may not be applied to some cases (negative values), but standardization is always applicable (except σ=0).

Q3. How to deal with unbalanced binary classification?

A. In a classification task, there is a high chance for the algorithm to be biased if the dataset is imbalanced. An imbalanced dataset is one in which the number of samples in one class is very higher or lesser than the number of samples in the other class.

To counter such imbalanced datasets, we use a technique called up-sampling and down-sampling.

In up-sampling, we randomly duplicate the observations from the minority class in order to reinforce its signal. The most common way is to resample with replacement. In down-sampling, we randomly remove the observations from the majority class. Thus after up-sampling or down-sampling, the dataset becomes balanced with the same number of observations in each class.

Q4. Difference between Precision and Recall.

A. The recall is the ratio of the relevant results returned by the search engine to the total number of the relevant results that could have been returned.?The precision is the proportion of relevant results in the list of all returned search results.

Q5. What is the bias-variance trade-off?

A. The bias-variance tradeoff is the property of a model that the variance of the parameter estimated across samples can be reduced by increasing the bias in the estimated parameters.

???? Celebrate your freedom to learn Data Science and build a brighter future.?

???? The independence sale is here. Want to start your career as a Data Scientist???

No alt text provided for this image

Express your freedom to learn. Check out my "Learn Everything AI" Assignment-driven Data Science combo course. Click on the link below.

Shivam Modi

46K Followers | I help people build their AI & Data Science career | Founder & CEO - Learn Everything AI | IIT Bombay | Click "Follow" to learn AI & Data Science daily

2 年

  • 该图片无替代文字
回复
Shivam Modi

46K Followers | I help people build their AI & Data Science career | Founder & CEO - Learn Everything AI | IIT Bombay | Click "Follow" to learn AI & Data Science daily

2 年

???? Independence sale is here (11-16th August 2022). Want to start your career as a Data Scientist??? Express your freedom to learn with our complete Data Science combo course: https://lnkd.in/d4A3Zbpw #datascience #datascientist #machinelearning #deeplearning #sql

回复

要查看或添加评论,请登录

Shivam Modi的更多文章

社区洞察

其他会员也浏览了