🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.Ridge
  2. B.Ordinary least squares
  3. C.Gradient descent without a penalty
  4. 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 →