Home▸Data Science▸Bias-Variance Decomposition of Polynomial Regression: Underfitting, Overfitting and Test Error

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).

Data Science3DModerate60 FPS📱 Mobile-adapted🟠 Blender⇄ 2D version
Bias-Variance Decomposition of Polynomial Regression: Underfitting, Overfitting and Test Error ↗ Open standalone

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).

⚙ Under the hood

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).

machine learningmodel interpretabilitypermutation importancefeature importanceexplainable AIregressionBias-VariancePolynomial RegressionOverfittingUnderfittingTest Error

3D · Three.js / WebGL renderer · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)