true functionmean fit (bias)earlier fits (variance)current fit
Couldn't start the 3D scene.

Bias-Variance Decomposition of Polynomial Regression: Underfitting, Overfitting and Test Error

Fit polynomials of any degree to noisy samples of a sine and see the expected test error split exactly into squared bias, variance and irreducible noise. Grey curves are earlier training sets, the yellow curve is the mean fit. A Blender-built data board with six independent numerical checks (Monte Carlo, hat-matrix trace, orthogonality, interpolation).

Made with 🟠 Blender · Three.js