05
6 minute interactive lab
Overfitting and generalization
Did the model learn—or memorize?
YOU’LL LEAVE KNOWINGReal learning is performance on examples the model has never seen.
THE EXPERIMENT
Make test performance catch up.
Move the controls. Watch the internal state respond. The explanation follows the behavior—not the other way around.
Conceptual simulationThe behavior is deliberately simplified and labeled; it teaches the relationship, not a trained production model.
TRAINING RUNTune the experiment
Model diagnosisMemorizing
Training set99%
seen examplesTest set34%
unseen examples65-point gapTry more examples or less capacity.
Real learning is performance on examples the model has never seen.
Training accuracy answers: can the model fit what it saw? Test accuracy answers: did it learn a pattern that survives new data? The second question is the one that matters.
IN DEVELOPER TERMS
learning = low error on unseen_dataGO DEEPER
Check the model against the source.
Connectionism optimizes for intuition, then points you to the rigorous treatment.
How does a model know how wrong it is?