Worked examples — Learning curves analysis
This page is a case-by-case drill room for Learning curves analysis. The parent note taught you the two curves — training error and validation error — and the three shapes they make. Here we hunt down every situation those curves can be in and solve each one from scratch.
First, a reminder of the two quantities, because every example uses them and we must never use a symbol before it is earned.
The single thing we read off a learning curve is the gap and the height:
Before any example, we must earn the three symbols the parent note used in its error laws. Each is a plain-English quantity with a picture.
The scenario matrix
Every learning-curve situation you will meet falls into one of these cells. Read it as a quadrant: the horizontal axis is the gap (variance ruler), the vertical axis is the height (bias ruler). The figure below draws that quadrant; the table lists the extra edge-cases (D–H) that live outside it.

| # | Edge-case cell | Signature on the curve | What it demands |
|---|---|---|---|
| A | High bias (underfit) | both curves high, tiny gap, flat | more capacity (Model Complexity, Feature Engineering, less Regularization) |
| B | High variance (overfit) | train low, val high, big gap still closing | more data / more Regularization |
| C | Good fit | both low, gap small, both flat | ship it |
| D | Degenerate: tiny | train error , val error huge | don't trust it yet — too few points |
| E | Limiting case: | curves reach their floors | predict the floor before spending money |
| F | Sign twist: "more data" verdict | is the val curve still sloping down? | decide yes/no on collecting data (Sample Size Determination) |
| G | Real-world word problem | messy numbers, a business decision | translate to bias/variance, act |
| H | Exam twist: bias and variance both bad | high height and large gap | fix bias first, then variance |
We now walk every cell.
Cell A — High bias (underfitting)
Forecast: guess before reading — do both curves sit high? Is the gap small? What happens with 100× more data?
- Compute the gap at the largest . . Why this step? A small gap rules out variance — the model is not memorising, since it's almost as bad on its own homework as on the quiz.
- Look at the height. , and it barely moved from at . Why this step? A high, flat height is the fingerprint of a bad ceiling — the model simply cannot bend to the data.
- Extrapolate the floor. Use the corrected training law . Because the piece climbs to zero as grows, rises from toward its plateau — exactly what the numbers show (). At the piece is negligible, so both curves sit at their plateau and still. Why this step? This is the whole point of the cell — collecting data changes nothing once you are on the plateau.

Verify: height (high), gap (tiny), both flat → Cell A, high bias. Predicted . Fix: add polynomial features / reduce regularization, not more data.
Cell B — High variance (overfitting)
Forecast: is the training error near zero? Is the val curve still diving? Guess whether more data helps.
- Height and gap at . (near-floor), , . Why this step? Big gap + tiny train error = memorisation. The model aces homework, flunks quizzes.
- Is the val curve flat? From it is still falling steeply. Why this step? A still-falling val curve is the green light that more data will keep helping (unlike Cell A).
- Fit the gap law . Recall from the definitions: is the wobble error and is the positive shape constant that says how fast the wobble fades with data. We can't split them apart from one measurement, so we lump them into a single fitted constant . At , gap , so . Then . Why this step? The parent gap law is ; we calibrate its single constant on the point we have, then read off the future.
Verify: gap halves when doubles (), consistent with . Cell B, high variance. Fix: more data or more Regularization.
Cell C — Good fit
Forecast: where do the two curves end up relative to each other?
- Gap at largest : . Why? Tiny gap → not overfitting.
- Height: , far below the linear model's . Why? Low ceiling → not underfitting.
- Flatness: both curves settle around – after . Why? Convergence means the model learned the true pattern, not noise.

Verify: low height () and small gap () → Cell C, good fit. Ship it.
Cell D — Degenerate: is tiny
Forecast: can any model avoid when it has only 3 points to fit?
- Why here is meaningless. With points and enough parameters, almost any flexible model passes exactly through all of them. Zero training error at is expected, not diagnostic. Why this step? A degenerate input (too few points) makes the training curve uninformative — you cannot read bias/variance yet.
- What to do. Slide up. Only once the curves have several points and start to flatten can you name a cell. Why this step? The whole diagnosis lives in the shape, and a shape needs more than one point.
Verify: at the verdict is "inconclusive — gather more ", not "overfit". This is the boundary case every reader must know.
Cell E — Limiting case:
Forecast: which term survives when is enormous, the constant or the part?
- Take the limit of training error. As , , so . Why this step? The tool is the limit: it strips away every term that shrinks with data and leaves the irreducible floor . We use a limit — not just plugging a big number — because we want the exact asymptote, the value collecting infinite data can never beat.
- Take the limit of validation error. . Why this step? Same limit; here the whole gap term vanishes, so the curves meet at .
- Read the gap in the limit. . Why this step? A gap that limits to zero means the variance is fully erasable by data.
Verify: both floors ; gap . So the irreducible floor is ; everything above it was variance that data erases. This example is a pure-variance model at its clean limiting behaviour — its own cell (E), showing how any curve's floor is found, not a relabelling of Cell B.
Cell F — Sign twist: does the val curve still slope down?
Forecast: the sign of the slope of the val curve is the whole answer — guess it for each.
- Slope of P's val curve. over the range → essentially flat / slightly up. Why this step? A flat or rising val curve means data has stopped paying off → this is Cell A, do not collect. Answer: No (fix bias).
- Slope of Q's val curve. , steeply down. Why this step? A still-falling val curve means each new example is still buying accuracy → Cell B, Yes, collect more (see Sample Size Determination).
Verify: P slope → No; Q slope → Yes. The sign of the val-curve slope is the switch.
Cell G — Real-world word problem
Forecast: did the gap shrink when data grew 10×? Extrapolate.
- Convert to gaps (in accuracy points). At : gap . At : gap . Why this step? Accuracy gap is the variance ruler; we watch whether data closed it.
- The gap fell — huge improvement, classic Cell B being cured by data. Why this step? Confirms more data is the right lever (not just regularization).
- Extrapolate val accuracy. Val went () for data. Diminishing returns mean the next won't add another , but a gain past toward is plausible while the gap is still . Why this step? A positive gap that is still closing justifies some more data; we temper the estimate because returns diminish.
Verify: gap (closing), val still climbing → recommend collecting more data, but budget for diminishing returns; consider light Regularization to squeeze the last gap cheaply.
Cell H — Exam twist: bias AND variance both bad
Forecast: if you only had one move, would you add capacity or add data/regularization?
- Read both rulers. Height (high → bias present). Gap (large → variance present). Why this step? Both fingerprints appear together; this is the cell people misdiagnose.
- Fix bias first. Even if you closed the entire gap by adding data, could only fall toward — still high. Why this step? The training floor () is your best possible val error once the gap closes; if that floor is already too high, no amount of variance-fixing saves you. So lower the floor first (more Model Complexity / Feature Engineering), then attack the gap.
- Order of operations. ① reduce bias → new lower ; ② then add data / Regularization to close the remaining gap. Why this step? Fixing variance on a high-bias model wastes the data budget.
Verify: best achievable val after closing the gap acceptable, so bias is the binding constraint → fix capacity first. Correct order: bias, then variance.
Recall Self-test — cover the right side
A flat, high pair of curves with a tiny gap is which cell? ::: Cell A, high bias — add capacity, not data. Training error near zero, big val gap still closing — which cell? ::: Cell B, high variance — more data / regularization. At , — what's the verdict? ::: Inconclusive (Cell D): too few points to diagnose. The one number that answers "collect more data?" ::: the sign of the val-curve slope (still falling = yes). Height high AND gap large — fix which first? ::: bias first (lower the training floor), then variance. What does mean in the error laws? ::: noise variance — the irreducible scatter in labels that no model can explain.