[scikit-learn] Logistic regression with elastic net regularization
Sebastian Raschka
se.raschka at gmail.com
Mon Mar 13 13:08:07 EDT 2017
Hi, Stuart,
I think the only way to do that right now would be through the SGD classifier, e.g.,
sklearn.linear_model.SGDClassifier(loss='log', penalty='elasticnet' …)
Best,
Sebastian
> On Mar 13, 2017, at 12:57 PM, Stuart Reynolds <stuart at stuartreynolds.net> wrote:
>
> Is there an implementation of logistic regression with elastic net regularization in scikit?
> (or pointers on implementing this - its seems non-convex and so you might expect poor behavior with some optimizers)
>
>
> - Stuart
> _______________________________________________
> scikit-learn mailing list
> scikit-learn at python.org
> https://mail.python.org/mailman/listinfo/scikit-learn
More information about the scikit-learn
mailing list