ML Fundamentals Interview Questions for Machine Learning
25 ML Fundamentals questions with answers for machine learning roles — 10 easy, 12 medium, 3 hard.
About ML Fundamentals
Core ideas every ML interview starts with: types of learning, regression versus classification, bias and variance, overfitting, train-validation-test splits, loss functions and gradient descent. These questions test whether you can frame a business problem as an ML problem, build a sensible baseline and reason about why a model generalises or fails on unseen data.
Explain supervised, unsupervised and reinforcement learning with one example each.
Show answer
What is the difference between a regression and a classification problem?
Show answer
What are overfitting and underfitting, and how do you detect them?
Show answer
Why do we split data into training, validation and test sets?
Show answer
What is the difference between parameters and hyperparameters?
Show answer
How do you set up a basic train-test split with scikit-learn?
Show answer
Write a minimal scikit-learn workflow to train and evaluate a model.
Show answer
How would you build a quick baseline before trying complex models?
Show answer
Why do you want to work as a machine learning engineer?
Show answer
What is the bias-variance trade-off?
Show answer
What is a loss function? Name common ones for regression and classification.
Show answer
Explain gradient descent and the role of the learning rate.
Show answer
What is the difference between batch, stochastic and mini-batch gradient descent?
Show answer
What is the curse of dimensionality?
Show answer
Your model shows 99 percent training accuracy but 72 percent validation accuracy. What will you do?
Show answer
A business stakeholder asks you to use deep learning for a 5,000-row tabular dataset. How do you respond?
Show answer
You are asked to predict customer churn. How would you frame the ML problem from scratch?
Show answer
Leadership wants a model in one week, but data quality is poor. How do you handle it?
Show answer
How do you implement simple gradient descent for linear regression in NumPy?
Show answer
How do you make an ML experiment reproducible?
Show answer
Tell me about a time your model did not work as expected. What did you do?
Show answer
What is the no free lunch theorem and what does it mean in practice?
Show answer
What is the difference between a generative and a discriminative model?
Show answer
Your training loss is not decreasing at all. What could be wrong?
Show answer
Frequently asked questions
How important is ML Fundamentals in Machine Learning interviews?
Core ideas every ML interview starts with: types of learning, regression versus classification, bias and variance, overfitting, train-validation-test splits, loss functions and gradient descent. These questions test whether you can frame a business problem as an ML problem, build a sensible baseline and reason about why a model generalises or fails on unseen data.
How should I use the ML Fundamentals sheet?
Go top to bottom — easy to hard. Answer before opening each answer, tick what you solved and save misses to Last-Minute Revision.