internalsGet Pro

Module 06 · Lesson 9 of 9Pro

Cross-validation: getting more from little data

Level
Intermediate
Topic
How models learn: losses and training
Reading time
17 min

When you finish this page you can

  1. Estimate how much one held-out split of a small dataset can move a model’s score.
  2. Run k-fold cross-validation, read its mean and spread, and compare two models fold by fold.
  3. Choose stratified, grouped or time-ordered folds to match how the model will be used.
  4. Say when nested cross-validation is needed, what k fits cost, and when one split is enough.
  1. Uncertainty in estimates: confidence intervals16 min
  2. Bias and variance: two kinds of error16 min
  3. Overfitting and underfitting13 min
  4. Train, validation and test sets13 min

The same model, two different scores

is our example online store. Joseph’s growth team sends vouchers to customers likely to : to stop buying. Farah, an ML engineer, builds the model that scores each customer’s chance of leaving.

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