Skip to content
mentoor

Supervised learning

For engineers

Learning a mapping from labelled examples: framing features and labels, splitting data, spotting overfitting and fitting a first baseline

See where you stand

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?

Choose one answer

Check yourself · 2 of 5

During model development, what is the validation split of a dataset used for?

Choose one answer

Check yourself · 3 of 5

In 5-fold cross-validation, how many times is the model fitted?

Choose one answer

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?

Choose one answer

Check yourself · 5 of 5

Logistic regression is used for which kind of task?

Choose one answer

Topics

  1. 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
  2. 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
  3. 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
  4. Overfitting versus underfitting in practice5 min read · Memorizing noise versus missing the pattern, the gap between training and validation error, and the usual remedies
  5. 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

Helps to know first

110 questions · last verified 2026-12