Skip to content

Learning Curves and Validation Curves

Using plots of performance against data size and model settings to diagnose models and decide what to try next.

Editorial team 1 min read

Two simple plots answer common questions about model development.

Learning Curves

Plot training and validation performance as training set size grows.

  • Both curves converge at poor performance: high bias. More data won't help much; use a more expressive model or better features.
  • Large gap, validation still improving: high variance. More data is likely to help, as is regularisation.
  • Curves converge at good performance: the model is in good shape.

Validation Curves

Plot training and validation performance as one hyperparameter changes — tree depth, regularisation strength, number of neighbours.

  • Rising training score with falling validation score shows overfitting.
  • The validation peak suggests a good setting.

Why They're Useful

They help decide whether to spend effort on collecting data, engineering features or tuning — before spending it.

Practical Tips

  • Use cross-validation for smoother curves.
  • Show variability with shaded bands.
  • Libraries such as scikit-learn provide helpers to compute these curves.

More in Machine learning

All Machine learning guides →
Machine learning Guide · 2 min

Linear Regression Explained

The simplest predictive model: how linear regression fits a line through data, how to read its coefficients, and when it breaks down.

Machine learning 2 min read 17 Sep 2026

Machine learning Guide · 2 min

Logistic Regression for Classification

Despite its name, logistic regression is a classification method. How it produces probabilities and why it remains a strong baseline.

Machine learning 2 min read 16 Sep 2026

Machine learning Guide · 2 min

Decision Trees

How decision trees split data with simple questions, why they are easy to explain, and why single trees overfit.

Machine learning 2 min read 15 Sep 2026

Machine learning Guide · 2 min

Random Forests

Why averaging many randomised decision trees produces a robust, accurate model with little tuning.

Machine learning 2 min read 14 Sep 2026