← 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 λ?
- A.Pick the λ with the lowest training error
- B.Pick the λ with the lowest test-set error
- C.Pick the λ with the lowest error on validation data or in cross-validation
- 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 →