aNet.ai
Machine Learning/Learning path
0day streak0XP · Lv 1
← 3. Learning & Generalization
Lesson 7 of 11 11 min · 138 words

The bias–variance trade-off

Splitting error into bias, variance and irreducible noise.

For squared loss, the expected test error at a point splits into three parts:

Bias is the error from wrong assumptions — how far the average model (over many possible training sets) is from the truth. Variance is how much the model changes when trained on a different sample. Noise is irreducible: no model can predict it.

Simple models have high bias and low variance; complex models have low bias and high variance. Reducing one tends to increase the other — the trade-off. The goal is the complexity that minimises their sum.

Formula to remember

Bias–variance decomposition

Expected error = squared bias + variance + irreducible noise.

Quick check · +5 XP

Training error 1%, test error 30% most likely means…

Practice this topic
Saved in this browser as you type.
aNet.ai · Introduction to Machine Learning · NewUU course outlineProgress saved in this browser