Join free to take this lesson
Anyone can look around, but taking a lesson needs a free account. With one, your answers are checked step by step and your progress is saved, so you can stop and pick up where you left off on any device.
10 steps ยท about 16 min
By the end you can
- Write the ridge and lasso objectives and say what $\lambda$ does
- Compute a one-variable ridge estimate $\hat\beta = \sum xy / (\sum x^2 + \lambda)$
- Explain why lasso can set coefficients to exactly zero and why features must be standardised
Who it is for: You know least squares (lesson 7.6) and the bias-variance trade-off (lesson 15.1).
The steps
- Pay for size
- Ridge and lasso
- Ridge with one input
- A ridge estimate
- How much shrinkage?
- The penalty
- Exactly zero
- Choosing lambda
- Units matter
- When to regularise
Discussion 0 comments
Log in to join the discussion.