internalsGet Pro

Module 06 · Lesson 8 of 9Pro

Train, validation and test sets

Level
Beginner
Topic
How models learn: losses and training
Reading time
13 min

When you finish this page you can

  1. Give the training, validation and test sets one job each, and explain why the test set is looked at once.
  2. Estimate how much picking the best of many validation scores flatters the winner.
  3. Size the validation and test sets from the precision you need, not from a fixed percentage.
  4. Split churn data by snapshot date with a 60-day gap, and explain why a random split overstates the score.
  1. Uncertainty in estimates: confidence intervals16 min
  2. Hypothesis tests and p-values for ML17 min
  3. The training loop: predict, measure, adjust13 min
  4. Overfitting and underfitting13 min

A score of 0.321 that didn’t hold

is our example online store. Every Monday, Joseph’s growth team sends ₹100 vouchers to the 20,000 customers most likely to : to place no order in the next 60 days. Farah, an ML engineer, builds the model that ranks them, on a notebook sample of 200,000 customers.

Our biggest sale ever · Black Friday

Flat 50% Off

Pro

Continue reading

Unlock every course, now and later

  • System Design, live
  • AI Engineering, live
  • Data Engineering, live
  • Machine Learning Engineering, live
  • Inference Engineering, coming soon
  • AI Research, coming soon
  • Performance Engineering, coming soon
  • Agent & Harness Engineering, coming soon
  • LLM Fine-tuning, coming soon
  • LLM Pre-training & Post-training, coming soon
  • Reinforcement Learning, coming soon
  • AI Infrastructure & Platform Engineering, coming soon
  • AI Evaluation & Safety, coming soon
  • Forward Deployed Engineering, coming soon
  • Cloud Computing, coming soon
  • DevOps, coming soon

50% off · Annual and Lifetime

BLACKFRIDAY50Applied at checkout

Choose a plan