Machine Learning Interview Questions

Land your dream job. Brush up on common Machine

Explain the bias-variance tradeoff

Bias refers to the error introduced by approximating a real-world problem with a simplified model. While variance refers to the model’s sensitivity to fluctuations in the training data.

How do you handle imbalanced datasets?

Imbalanced datasets can trick machine learning models. To overcome this you can: 1.  Reduce the majority class examples (undersampling) 2.  Increase the minority class examples (oversampling)

What are ensemble learning methods?

Ensemble learning methods are a ML technique that combines predictions from multiple models to create a more accurate prediction. There are three main categories of ensemble methods: bagging, boosting, and stacking.

What evaluation metrics would you use for this recommender system?

Accuracy (RMSE/MAE): Measures how well predicted ratings match actual ratings. Good for absolute rating prediction. Ranking (MAP/NDCG): Evaluates how well the most relevant items are ranked at the top of recommendations. Better for item ordering.

What is the ROC curve?

The ROC curve is a graph for binary classifiers that shows the trade-off between catching true positives (benefits) vs. false positives (costs) as a classification threshold varies. A perfect classifier lands in the top left corner.