🎙 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 6 of 10

How should you choose the penalty strength λ?

How should you choose the penalty strength λ?

  1. A.Pick the λ with the lowest training error
  2. B.Pick the λ with the lowest test-set error
  3. C.Pick the λ with the lowest error on validation data or in cross-validation
  4. D.Always use λ = 1
Answer & explanation

Correct answer: Pick the λ with the lowest error on validation data or in cross-validation

The test set must stay untouched for the final, honest check.

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 →