Classical ML interview questions
100 Machine Learning practice questions. Read what a strong answer covers, then practise it out loud against the clock.
Practise Classical ML questionsBeginner
- Anomaly detection basics
- Choosing an algorithm for tabular data
- Classifying tickets into 12 categories
- Comparing algorithms fairly
- Decision tree overfitting badly
- Decision trees
- Explaining what drives a random forest
- Finding similar customers
- Flagging unusual transactions without labels
- Gradient boosting in simple terms
- Hierarchical clustering
- How decision trees choose splits
- Interpreting model coefficients
- K-means clustering
- K-means gives strange clusters
- K-nearest neighbors
- Linear regression
- Linear vs non-linear models
- Logistic regression
- Logistic regression won't converge
- Model needs clear reasons for each decision
- Model outputs only 0 or 1
- Multi-class classification strategies
- Naive Bayes
- Picking an algorithm for churn prediction
- Polynomial regression
- Predicting house prices quickly
- Quick spam filter baseline
- Random forest
- Random forest too slow to predict
- Regression thrown off by data entry errors
- Support vector machines
- SVM training taking hours
- Understanding product groupings
Intermediate
- Auto-tagging articles with multiple topics
- Bagging vs boosting for bias and variance
- Choosing k and limitations of k-means
- Clustering delivery locations
- Controlling overfitting in decision trees
- Correlated features confusing importance
- Customers that belong to multiple segments
- Dataset with many categorical columns
- DBSCAN
- Estimating price elasticity
- Gaussian mixture models
- Generalized linear models
- Inventory planning needs ranges, not single numbers
- Isolation forest
- Key gradient boosting hyperparameters
- Local outlier factor and one-class SVM
- Misreading a t-SNE plot
- Model behaves illogically for some customers
- Modeling insurance claim costs
- Multi-label classification
- Odds, log-odds and the sigmoid
- Polynomial model behaves wildly
- Quantile regression
- Random forest hyperparameters and out-of-bag error
- Should you deploy a stacked ensemble?
- Stacking and blending
- t-SNE and UMAP
- Text classification with limited data
- The kernel trick
- Too many anomaly alerts
- Tuning a LightGBM model efficiently
- XGBoost ignoring the minority class
- XGBoost vs LightGBM vs CatBoost
Experienced
- Accurate but transparent model for a hospital
- Boosting model degrades quickly
- Boosting probabilities used for expected loss
- Compressing large ensembles
- Distilling a large model for mobile
- Evolving from anomaly detection to supervised fraud model
- Gaussian processes
- Gradient boosting for highly imbalanced data
- Hidden Markov models
- Histogram-based splitting and leaf-wise growth
- How CatBoost handles categorical features
- How gradient boosting works mathematically
- Improving product search ranking
- Independent model validation in a bank
- Interpretable models: GAMs and EBMs
- Learning to rank with gradient boosting
- Model that must learn continuously from a stream
- Monotonic constraints
- Optimizing expensive experiments
- Predicting extremely rare equipment failures
- Predicting when customers will churn
- Proving clusters are real
- Regulator requires explainable pricing model
- Results change every training run
- SHAP reveals the model uses an unexpected feature
- SHAP values for tree models
- SVM optimization and support vectors
- Tabular foundation models
- Tree model fails on rising prices
- Trees can't extrapolate
- Very small dataset, need strong accuracy
- What made XGBoost so effective
- Why boosting often beats deep learning on tabular data