2013/1/24 Ronnie Ghose <ronnie.gh...@gmail.com>:
> I'm primarily thinking svm for which it looks horrible. Actually out of svm,
> trees and logistic regression - log reg is the best. Just to confirm,
> gridsearch uses score which returns R^2 yes? Getting negative scores with
> svm and gridsearch was confusing

For classification the default score function is the accuracy (rate of
correct classifications).

R2 is regression score hence should not be used for classification models.

What are the exact class names your are grid searching? Do you pass a
custom `score_func` parameter to the GridSearchCV constructor?

--
Olivier
http://twitter.com/ogrisel - http://github.com/ogrisel

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to