2012/2/27 Mathieu Blondel <[email protected]>: > On Mon, Feb 27, 2012 at 6:06 PM, Matthias Ekman > <[email protected]> wrote: > >> do I use Elastic Net for classification in practice? > > from sklearn.multiclass import OneVsRestClassifier > > clf = OneVsRestClassifier(ElasticNet(alpha=0.1, rho=0.7)) > > will work even for binary classification.
Cool, I did not know that the binary case was handled as well. -- Olivier http://twitter.com/ogrisel - http://github.com/ogrisel ------------------------------------------------------------------------------ Try before you buy = See our experts in action! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-dev2 _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
