Skip to content
Kudos AI

Shrinkage: Ridge and Lasso

Trading a little bias for a large variance reduction, and the geometric reason the L1 penalty produces exact zeros where L2 does not.

IntermediateModule 325 min · 120 XP
Ridge asymptoting toward zero while lasso crosses it and is held there, and then the same fact drawn as a disc without corners against a diamond with them.

This is a premium lesson

Sign in and enrol to read the full lesson, run the code, take the quiz, and earn XP toward the path badge.