Search

Try a topic

Notebook

Bias-Variance Decomposition

Derivation ML theory

E[(y−f^(x))2]=(E[f^(x)]−f(x))2⏟bias2+Var(f^(x))⏟variance+σ2⏟noise\mathbb{E}[(y - \hat{f}(x))^2] = \underbrace{(\mathbb{E}[\hat{f}(x)] - f(x))^2}_{\text{bias}^2} + \underbrace{\text{Var}(\hat{f}(x))}_{\text{variance}} + \underbrace{\sigma^2}_{\text{noise}}

Why it matters: Every regularization choice (dropout, weight decay, early stopping) trades bias for variance. Knowing which side you’re on tells you which knob to turn.