0
$\begingroup$

I am trying to use regularization methods for a classification problem, but without neural networks. I searched online and I found that the most famous algorithms are Ridge, Lasso, Elastic net but these are for regressions, and other methods for neural network. Are they any algorithms for my problem using a random forest (using R) ? Thank you

$\endgroup$

1 Answer 1

3
$\begingroup$

You can do regularized logistic regression using the glmnet package, e.g., glmnet(..., family="binomial").

And of course the randomForest package allows you to do classification, too.

$\endgroup$

Your Answer

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

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.