Machine Learning
Intermediate
4.5

Regularization: Fighting Overfitting

Techniques to help models generalize beyond the training data.

0h 20m
1 lesson
1.2K students

What You'll Learn

Learning objectives will be added soon.

Tutorial Content

The goal

Regularization discourages a model from memorizing noise, so it performs better on new data.

Common techniques

  • L2 / L1 — penalize large weights (weight decay).
  • Dropout — randomly disable neurons during training (deep nets).
  • Early stopping — stop when validation loss stops improving.
  • Data augmentation — expand training data with realistic variations.
  • More data — the most reliable regularizer of all.

How to apply

Add one technique at a time and watch the gap between training and validation scores shrink. A small, well-regularized model often beats a big, unconstrained one.

Your Progress

Sign in to track your progress

Tags

Machine Learning
Deep Learning