LESSON 4.14 · 6 STAGES · 3 CONTROLS · 3 CHECKSPRO · PREVIEW
The bias–variance tradeoff
Watch many fits of one curve split their error into bias and variance.
Pro lesson. Stage 1 is free to watch. Pro opens all 6 stages, 3 controls and 3 checks, in this lesson and every other.
Go Pro · $8.25/moEXPLAINER · 4.14 · FIT BAYDEGREE 3 · 10 POINTS · TRAINING ERROR 0.069
01
Stage 1 of 6 · One fit
10 noisy points come from the true curve f. A degree-3 polynomial fits them by least squares.
Explain it simply
The dashed curve is the truth. In real life you never see it. Each teal point is the true value plus random noise. The blue curve is the degree-3 polynomial with the smallest squared misses on these points. Its training error is 0.069.
10 training points around the dashed true curve, and a degree 3 fit through them.
training points yfits ĝ, average fit ḡ, test errorbias² (solid), variance (light)true curve f (dashed), noise σ²training error
Toy: f(x) = sin(3.5x + 0.4) · n fixed inputs · 200 noisy training sets · least squares · seeded
MATH · STAGE 1HOVER A SYMBOL OR A SHAPE
The fit picks the weights that make the squared misses smallest.
PRO LESSON · YOU WATCHED STAGE 1 OF 6
Unlock the full explainer
- 5 more stages and 3 live controls
- 2 mix-up cards and 3 predict-then-reveal checks
- Watch it as a narrated video, in three voices
- Every Pro lesson and capstone · 656 in total
$99 a year, or $15 a month. Cancel any time.