Bias-Variance Trade-off by Model Complexity
function
smooth sine
wiggly sine
smooth step
quadratic
cubic polynomial
absolute-value cusp
Gaussian bump
high-frequency sine
damped oscillation
max degree
15
selected degree
3
samples
18
noise σ
0.25
repetitions
60
ridge λ
0
y scale
log
linear
normalized
show fitted models
Resample simulation