Minideas

Idea 5 of 15 · How machines learn

Too simple, too fussy, just right

A good model learns the general trend, not every quirk of its practice data.

too simple
1 / 4

Too simple: underfitting

A straight line can’t follow a curve. It’s like a student who learned one rule and uses it for every question. Experts call this high bias.

too fussy
2 / 4

Too fussy: overfitting

This line hits every practice dot but zigzags wildly. It memorized the practice test, so it fails the real one. Experts call this high variance.

just right
3 / 4

Just right: it generalizes

A smooth curve follows the real trend and ignores the noise. That’s what lets it make good guesses on data it has never seen.

new data it never sawthe real test
4 / 4

The real test is new data

Always check a model on examples it didn’t train on. The smooth curve still fits the new yellow dots. The zigzag would miss them.

Swipe the card, or use the arrow keys.

Go deeper

Each card stack gives you the idea. These open resources go into the detail.