ML Fundamentals interview questions
100 Machine Learning practice questions. Read what a strong answer covers, then practise it out loud against the clock.
Practise ML Fundamentals questionsBeginner
- AI vs ML vs deep learning vs generative AI
- Can ML predict this?
- Choosing a metric for a churn model
- Classification vs regression
- Confusion matrix
- Data leakage
- Duplicate records across train and test
- Explaining model trade-offs to a non-technical manager
- Features and labels
- Fraud model with 99 percent accuracy
- Gradient descent
- Great training score, poor test score
- Loss functions
- Model accuracy dropped after a few months
- No labels available for a supervised problem
- Only 500 labeled examples
- Overfitting and underfitting
- Parameters vs hyperparameters
- Precision and recall
- Random split on time-based data
- Regression model thrown off by outliers
- Simple rule beats your ML model
- Stakeholder asks why the model made a prediction
- Starting an ML project with a business team
- Suspiciously important feature
- Test set used for repeated tuning
- The machine learning project lifecycle
- Training, validation and test sets
- Two models with similar scores
- Types of machine learning
- What is machine learning
- When not to use machine learning
- Why accuracy can be misleading
- Why start with a baseline model
Intermediate
- Batch vs online learning
- Better overall but worse for one segment
- Bias-variance trade-off
- Building a model with 0.1 percent positive rate
- Business wants more recall without losing precision
- Choosing a decision threshold
- Cross-validation
- Cross-validation scores don't hold in production
- Curse of dimensionality
- Customer segmentation without labels
- Deciding whether to label more data
- Delivery time predictions where lateness is worse
- Early stopping
- Ensemble methods
- Handling class imbalance
- How often should the model be retrained?
- Hyperparameter tuning methods
- Hyperparameter tuning takes too long
- Important feature with many missing values
- L1 and L2 regularization
- Labels arrive a year later
- Learning curves
- Log loss and cross-entropy
- Model performance swings with seasons
- Model too slow for real-time predictions
- Noisy labels from crowd workers
- Probabilities used for pricing are off
- Probability calibration
- Regression metrics
- ROC-AUC vs PR-AUC
- Setting threshold for limited review capacity
- Transfer learning
- Unsupervised learning use cases
Experienced
- Active learning
- Automating decisions with human fallback
- Better offline model, no online improvement
- Build an in-house model or buy a vendor solution?
- Comparing models with statistical rigor
- Conflicting business objectives
- Cost-sensitive learning and decision optimization
- Double descent and overparameterization
- Expanding a model to a new market
- Feedback loops in ML systems
- Fixed labeling budget for a new classifier
- Foundation models and the shift in ML practice
- Fraudsters adapting to your model
- High-stakes model with limited data
- Improve the model or improve the data?
- Interpretability vs performance trade-off
- LLM or classic ML for a classification task?
- Model learned a shortcut
- Nested cross-validation
- Offline metrics vs online business impact
- Only seeing outcomes for approved loans
- Optimizing the wrong target
- Out-of-distribution detection
- Prediction vs causal inference
- Replacing a rules engine with ML safely
- Scaling laws
- Self-supervised and representation learning
- Targeting discounts to the right customers
- Types of distribution shift
- Uncertainty estimation in ML
- Users gaming the model
- Using an LLM to generate training labels
- Weak supervision and label noise