Does fitglm do regularization?

1 view (last 30 days)
Tristan Chaplin
Tristan Chaplin on 23 Nov 2017
It's unclear to me if the fitglm function can do any kind of regularization. I see there is an older function, lassoglm, which supported Lasso or elastic net regularization for GLMs, but it seems to use the old way of returning a coefficients matrix instead of a model object.
Is there any way to get fitglm to use a specific type of regularization (lasso, elastic net, ridge) or do I just need to use lassoglm the old way?

Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!