AI ATLASAn interactive field guide
CONCEPT 22 / Generalization / Repeated samples

Bias and variance.

Train the same method on twelve different samples from one hidden process. Watch the fitted curves gather around or scatter away from the truth.

One method, many possible datasets

Twelve repeat samples are ready. Compare a rigid model with a flexible one.

01 / Interactive visualLoaded example
Twelve fitted curves over one true function
Mean squared bias and prediction variance
Twelve thin lines are twelve fitted models; the heavy gold line is their average and the dashed line is truth.

Error decomposition

Why it matters

Bias measures the average fit’s distance from truth; variance measures how much fits change across samples.