But SGDClassifier optimizes classification-specific loss functions, unlike ElasticNet which is a regressor. Correct me if i'm wrong, but wrapping ElasticNet in a OvR fashion doesn't lead to the same thing, and SGDClassifier would generally be more appropriate for classification in my opinion.
My 2c, Vlad On Thu, Jul 24, 2014 at 5:56 PM, Alexandre Gramfort <alexandre.gramf...@telecom-paristech.fr> wrote: >> But now it makes me think - >> How OneVsRestClassifier approach is different then SGDClassifier? >> Is SGDClassifier an optimization algorithm which also uses >> OneVsRestClassifier for classification? > > yes SGDClassifier uses OvR internally. > > A > > ------------------------------------------------------------------------------ > Want fast and easy access to all the code in your enterprise? Index and > search up to 200,000 lines of code with a free copy of Black Duck > Code Sight - the same software that powers the world's largest code > search on Ohloh, the Black Duck Open Hub! Try it now. > http://p.sf.net/sfu/bds > _______________________________________________ > Scikit-learn-general mailing list > Scikit-learn-general@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/scikit-learn-general ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds _______________________________________________ Scikit-learn-general mailing list Scikit-learn-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/scikit-learn-general