← Quiz: Regularisation (Ridge and Lasso): all 10 questions
Quiz: Regularisation (Ridge and Lasso) · Question 4 of 10
Which method can set some weights to exactly zero, acting as feature selection?
Which method can set some weights to exactly zero, acting as feature selection?
- A.Ridge
- B.Ordinary least squares
- C.Gradient descent without a penalty
- D.Lasso
Answer & explanation
Correct answer: Lasso
The L1 penalty with soft thresholding pushes small weights all the way to zero.
Can you get the rest right without peeking?
Take the timed Quiz: Regularisation (Ridge and Lasso) quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →