Training

Regularization

Regularization changes training to discourage brittle or overly complex solutions.

inputoutputunregularizedregularized
Regularization changes training to discourage brittle or overly complex solutions. Values shown in the worked visual are illustrative unless the labels state otherwise.

How it works

Penalties, noise, data augmentation, and early stopping impose different preferences. The goal is better performance on unseen data, not merely higher training accuracy.

A concrete example

Illustrative: L2 coefficient 0.01 adds 0.01 times the squared-weight sum to loss.

Do not confuse it with Normalization

regularization targets generalization; normalization controls activation scale.

Study the full lesson