aNet.ai
Machine Learning/Learning path
0day streak0XP · Lv 1
← Machine Learning learning path
09
Supervised learning

Overfitting and Regularization

Revisiting the bias–variance trade-off with the tools to control it.

6 lessons~47 min2 formulas5 questions
0%
Not started yet
Quiz mastery0%
Start
What you’ll take away
  • Compare training and validation error to diagnose bias vs. variance.
  • Fix bias with more capacity; fix variance with more data or regularisation.
  • L2 shrinks all weights smoothly; L1 zeroes many out.
  • Choose λ by cross-validation on a logarithmic grid.
Major concepts (syllabus)

Bias–variance trade-off, underfitting, overfitting, L1/L2 regularization, model complexity

Lessons

  1. Underfitting and overfitting, revisitedDiagnosing both with training and validation curves.7 min
  2. The bias–variance trade-off in practiceLearning curves and what to change for each problem.9 min
  3. Model complexityDegree, depth, number of features and parameters.7 min
  4. L2 regularizationShrinking weights smoothly; always gives a unique solution.8 min
  5. L1 regularizationSparse weights and built-in feature selection.8 min
  6. Choosing λTuning the penalty strength with cross-validation.8 min

Key formulas

Regularized objective

Data fit plus a complexity penalty Ω.

Ridge closed form

λI keeps the matrix invertible.

Key terms

Regularization
Penalising model complexity to improve generalisation.
Full glossary →
Practice this topic5 questions · earn XP and build your streak
aNet.ai · Introduction to Machine Learning · NewUU course outlineProgress saved in this browser