⚡ Bias–Variance Tradeoff

Adjust complexity, noise & sample size · optimal complexity highlighted
Training error
Test error
Bias²
Variance
Total error (B²+V+noise)
★ Optimal complexity
Optimal degree: 8
Min test error: 0.000
Bias²: 0.000
Variance: 0.000
Noise: 0.80
Total Error = Bias² + Variance + Irreducible Noise
⬅ Underfitting (high bias) Overfitting (high variance) ➡