Supervised learning
For engineers
Learning a mapping from labelled examples: framing features and labels, splitting data, spotting overfitting and fitting a first baseline
110 questions across four stages: Understand, Apply, Solve and Judge.
Try 5 questions
Practice items, not counted towards your mastery. No account needed.
Check yourself · 1 of 5
In a supervised learning table, what is the label?
Check yourself · 2 of 5
During model development, what is the validation split of a dataset used for?
Check yourself · 3 of 5
In 5-fold cross-validation, how many times is the model fitted?
Check yourself · 4 of 5
A model scores 0.99 on training data and 0.72 on validation data. What is the most likely diagnosis?
Check yourself · 5 of 5
Logistic regression is used for which kind of task?
Topics
- Framing a prediction problem as features and labels5 min read · Turning a business question into a classification or regression task with one label, the features known at prediction time and a clear unit per example
- Train, validation and test splits5 min read · Why a model is fitted on one split, tuned on a second and judged once on a third it never saw
- Cross-validation on small datasets5 min read · k-fold and stratified cross-validation to get a steadier score when data is scarce, and reading the spread across folds
- Overfitting versus underfitting in practice5 min read · Memorizing noise versus missing the pattern, the gap between training and validation error, and the usual remedies
- Linear and logistic regression baselines5 min read · Fitting a simple scikit-learn model first so every fancier model, including an LLM call, has a number to beat
Start here
- Machine Learning Crash Course (Google) (opens in a new tab)CourseFree
Free course covering features, labels, data splits, overfitting and regularization with exercises.
- Supervised learning (scikit-learn user guide) (opens in a new tab)DocsFree
The index of scikit-learn's supervised estimators, with the shared fit and predict interface.
- Cross-validation: evaluating estimator performance (scikit-learn) (opens in a new tab)DocsFree
Explains holding out a test set, k-fold, stratified folds, pipelines and data leakage with code.
Helps to know first
110 questions · last verified 2026-12