biasvar() — Bias–variance trade-off

Why both too-simple and too-complex models predict poorly.

biasvar(model_complexity)

Key idea

Definition

irreducible noise you can never beat
error from the model being too rigid
error from the model reacting to noise

In plain words

Too simple and you always miss the same way; too complex and you wobble all over. The trick is the middle.

Where you'd use it

Frequently asked questions

What is the bias–variance tradeoff?
Simple models have high bias/low variance; complex ones the reverse. The lowest test error balances the two.