ML glossary › Regularization
What is regularization in machine learning?
A penalty that keeps a model’s weights small so it stays simple and doesn’t memorize.
Where it shows up
Generalization
L1 and L2 regularization
regularization adds a penalty to the loss: the bigger the weights, the bigger the fee. Now the model only keeps a weight large if it truly earns its keep by reducing the error.
See regularization in motion. The lesson animates it step by step, free.
Open the lesson