Under squared loss, error relative to the true mean can be split into squared bias and variance. Bias compares predictions averaged across training samples with the target mean. Variance measures how predictions change across training samples. Predicting individual outcomes adds irreducible outcome noise.
Imagine you run a delivery depot and have two ways to estimate when a parcel will arrive. One method is steady, but comes in about eight minutes short on almost every order. The other averages out nicely, though a single estimate can easily miss by fifteen minutes in either direction.
You can only keep one of the two methods. Do you go with the one that's always short, or the one that looks right when you take the average?
The Bias–Variance Tradeoff says that when you push a prediction closer to the truth on average, it often starts to move around more. Follow the depot manager through three tries and you'll see what each kind of error feels like.
How it works
At first, the manager quotes twenty minutes for every delivery, regardless of distance. That can work for trips close by, but the parcels going far away keep showing up late. The estimate has no way to take distance into account.
So he fits a separate curve for each neighborhood, close enough to match the old orders. When he removes a few orders and fits the curves again, some estimates jump by more than ten minutes. The curves have learned about particular red lights and downpours along with the normal pattern.
- 01 · Fix the target Compare rules at the same input and on the same loss scale.
- 02 · Refit on fresh samples Record the average and spread at the same input.
- +1 more mechanism steps & animation in the app
When it fails & limits
A late delivery slip on its own won't tell you which kind of error you have. You have to see what the method does as you change the data or the way you score it.
Unlock the full Bias–Variance Tradeoff lesson in ConceptFlow
You’ve read the core idea and opening case. Get the ConceptFlow app to continue through the full breakdown, failure modes, 5-minute audio lesson, and decision practice.
- ▸5-minute English & Mandarin audio lesson
- ▸6 more deep-dive case & mechanism insights
- ▸All 5 failure boundaries & counter-examples
- ▸4-point decision checklist + 6-step practice
Tap a store button on mobile, or scan with your phone camera on desktop.