Machine Learning Rapid-Fire Questions & Answers
50 questions for the rapid-fire stage — 25 easy, 24 medium, 1 hard.
About the rapid-fire round
Rapid-fire questions are quick definitions and one-line answers that interviewers fire at the start or end of a round to check your Machine Learning basics. Aim to answer each in under 20 seconds.
Tips for the rapid-fire round
- Answer in one or two sentences, then stop.
- If you don't know, say so quickly and move on; don't guess at length.
- Revise these the morning of the interview.
- Practise with a friend who reads them in random order.
How does logistic regression work?
Show answer
What are learning curves and validation curves?
Show answer
What is the difference between offline evaluation and online A/B testing of a model?
Show answer
Why is feature scaling needed and which algorithms need it?
Show answer
What is the difference between Ridge, Lasso and Elastic Net regression?
Show answer
Explain precision, recall and F1 score.
Show answer
How do you choose the number of clusters k?
Show answer
Explain hierarchical clustering and dendrograms.
Show answer
What is PCA and how does it work?
Show answer
What is the softmax function?
Show answer
What is k-fold cross-validation and why is it better than a single split?
Show answer
What is the difference between Gini impurity and entropy?
Show answer
Explain the k-nearest neighbours algorithm and its weaknesses.
Show answer
How do you detect and treat outliers?
Show answer
When would you use Huber or quantile regression instead of OLS?
Show answer
How does ordinary least squares find the regression coefficients?
Show answer
What is the difference between a regression and a classification problem?
Show answer
What is polynomial regression and what risk does it carry?
Show answer
Compare grid search, random search and Bayesian optimisation.
Show answer
What is machine learning and how is it different from traditional programming?
Show answer
What does it mean to deploy a machine learning model?
Show answer
What is the log loss metric and why is it useful?
Show answer
How does a decision tree decide where to split?
Show answer
What is the difference between label encoding and ordinal encoding?
Show answer
Why containerise an ML model with Docker?
Show answer
How does k-means clustering work?
Show answer
What is association rule mining? Explain support, confidence and lift.
Show answer
What is R-squared and what is adjusted R-squared?
Show answer
Compare MAE, MSE and RMSE as regression metrics.
Show answer
What are the assumptions of linear regression?
Show answer
What is the difference between standardisation and normalisation?
Show answer
Explain supervised, unsupervised and reinforcement learning with one example each.
Show answer
What is multicollinearity and how do you detect it?
Show answer
What is the difference between batch, stochastic and mini-batch gradient descent?
Show answer
How do you handle class imbalance?
Show answer
What is the ROC curve and AUC? When is PR-AUC better?
Show answer
What is feature engineering and why does it matter?
Show answer
What is the bias-variance trade-off?
Show answer
Why do single decision trees overfit and how do you control it?
Show answer
What is a loss function? Name common ones for regression and classification.
Show answer
What is a confusion matrix?
Show answer
What is DBSCAN and when is it better than k-means?
Show answer
Why do we split data into training, validation and test sets?
Show answer
What makes XGBoost, LightGBM and CatBoost different?
Show answer
What is MLOps?
Show answer
How does Isolation Forest detect anomalies?
Show answer
How do you handle missing values in a dataset?
Show answer
What is Naive Bayes and why is it called naive?
Show answer
What should you monitor for a model in production?
Show answer
Frequently asked questions
What happens in the Machine Learning rapid-fire round?
Rapid-fire questions are quick definitions and one-line answers that interviewers fire at the start or end of a round to check your Machine Learning basics. Aim to answer each in under 20 seconds.
How do I clear the rapid-fire round?
Answer in one or two sentences, then stop. If you don't know, say so quickly and move on; don't guess at length. Revise these the morning of the interview.
Which round comes next?
A typical order is online assessment, telephonic screening, one or two technical rounds, a managerial round and HR. Use the other round pages to practise each stage.