Skip to content
mentoor

Data for ML

For engineers

Collecting, labelling, splitting, balancing and documenting training data, and the leakage and bias that quietly ruin models

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

A team wants to train on a public dataset. What must they check first about its contents?

Choose one answer

Check yourself · 2 of 5

Why measure agreement between two annotators before labelling the whole dataset?

Choose one answer

Check yourself · 3 of 5

In a training pipeline, what does target leakage mean?

Choose one answer

Check yourself · 4 of 5

A model will forecast next month's sales. Which split fits?

Choose one answer

Check yourself · 5 of 5

On a dataset where 0.5 percent of rows are positive, why is accuracy a poor metric?

Choose one answer

Topics

  1. Collecting data with consent and coverage4 min read · Sources, licences, consent and personal data, and whether the data covers the cases the model will meet in use
  2. Labelling guidelines and annotator agreement5 min read · Writing labelling instructions, measuring agreement between annotators, handling disputed items and budgeting labelling cost
  3. Spotting target leakage in features5 min read · Features that encode the answer, preprocessing fitted on all data and duplicates across splits, with too-good scores as the warning sign
  4. Time-aware and group-aware splits5 min read · Splitting by time for forecasts and by user or patient for grouped data, so the test set looks like the future
  5. Class imbalance and sampling bias5 min read · Rare positives, class weights and resampling, and groups that are under-represented in how the data was gathered
  6. Documenting datasets with datasheets and versions4 min read · Recording where data came from, how it was labelled, known gaps and the exact version a model was trained on

Start here

Helps to know first

110 questions · last verified 2026-12