3
$\begingroup$

I understand the $\lambda$ term is used to avoid an overfitting in many models, including logistic regression. Can you help me how to choose which $\lambda$ to use and what will be its corresponding interpretation?

Thanks

$\endgroup$

1 Answer 1

2
$\begingroup$

It is the weight that we placed on "simplicty", the bigger it is, the less we focus on training accuracy.

We usually tune it, we first prepare the training set and validation set. We then try various values of $\lambda$ and choose the version that has the best performance on the validation set. Alternatively, we use $k$-fold cross validation.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.