Introduction
A model can fit training data and still fail on new data.
That is the central problem of generalization. Training loss tells us how well the model fits examples it learned from. Validation loss tells us whether the learned pattern seems to hold on examples held out from training.
Regularization is a family of techniques that discourages brittle fits. It does not make a model automatically correct. It adds pressure toward simpler, more stable, or less overly specific solutions.
This chapter teaches the first practical signs: underfitting, overfitting, weight decay, dropout, early stopping, data augmentation, and the relationship between capacity and dataset size.