Skip to content

Bias-Variance Trade-Off

Understanding the two sources of model error, how model complexity affects them, and how to find the right balance.

Editorial team 1 min read

A model's prediction error can be broken into parts that help explain overfitting and underfitting.

Bias

Error from overly simple assumptions. A high-bias model misses real patterns — a straight line fitted to curved data. This is underfitting.

Variance

Error from sensitivity to the particular training data. A high-variance model fits noise and changes a lot with different samples. This is overfitting.

The Trade-Off

As complexity increases, bias usually falls and variance rises. The best model balances them to minimise total error on new data.

Diagnosing

  • High training error and high validation error → high bias. Try more features or a more flexible model.
  • Low training error, high validation error → high variance. Try more data, regularisation or a simpler model.

Tools for Balance

  • Regularisation.
  • Cross-validation to choose complexity.
  • Ensembles: bagging reduces variance; boosting reduces bias.
  • More training data reduces variance.

A Modern Twist

Very large neural networks can generalise well despite fitting training data perfectly — a phenomenon called double descent — so the classic picture is a guide, not a law.

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