Polynomial fit to noisy samples of a sine
Companion chart of the same model

Bias-Variance Decomposition of Polynomial Regression: Underfitting, Overfitting and Test Error (2D)

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