[scikit-learn] Logistic regression with elastic net regularization

Stuart Reynolds stuart at stuartreynolds.net
Tue Mar 14 12:17:14 EDT 2017


Many thanks.

On Mon, Mar 13, 2017 at 10:08 AM, Sebastian Raschka <se.raschka at gmail.com>
wrote:

> 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
>
> _______________________________________________
> scikit-learn mailing list
> scikit-learn at python.org
> https://mail.python.org/mailman/listinfo/scikit-learn
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20170314/41f612ab/attachment.html>


More information about the scikit-learn mailing list