Skip to main content
Module 8 · Lesson 3 of 439/56 in the course~20 min
Module lessons (3/4)

Learning curves

Lesson preview5 hands-on exercises readyMachine Learning: from first principles to practice · Module 8 — Model selection and tuning

Bias versus variance, and more data versus a better model.

What you'll learn in this lesson

  • Read a learning curve to tell high bias from high variance.
  • Decide whether more data or a more complex model is the better investment.
  • Plot the effect of one hyperparameter with a validation curve.

Overview

Your model is not good enough. Should you collect more data, add features, or switch to a more flexible model? Guessing is expensive. A learning curve answers it: it trains the model on growing fractions of the training set and plots the training score and the cross-validated score for each size.

Switch regimes below to see when collecting extra training samples helps and when capacity is the bottleneck:

Sections covered in this lesson

  1. 1The hook: where should the next week go?
  2. 2Reading learning curves at a glance
  3. 3Try it: interactive learning curve & sample-size simulator
  4. 4Progressive examples: learning and validation curves
  5. 5Validation curves
  6. 6Practice
Pro Lesson · Module 8 — Model selection and tuning

Unlock "Learning curves" and the full Machine Learning: from first principles to practice curriculum

Bias versus variance, and more data versus a better model.

Unlock all 5 hands-on exercises in this lesson plus every advanced WebAssembly module with automated checks.

  • Instant access to all advanced modules in Machine Learning: from first principles to practice plus 17 more courses
  • Hands-on browser exercises with automated test suites and solutions
  • 14-day money-back guarantee processed via Paddle.com

14-day guarantee · Cancel anytimeModule 1, all 18 interactive games, and cheatsheets are always free.