2012/1/19 Gael Varoquaux <[email protected]>:
> On Thu, Jan 19, 2012 at 12:13:38PM +0900, Mathieu Blondel wrote:
>> Since your data is sparse, you need to use svm.sparse.SVC, not svm.SVC.
>
> Those error messages are really not enlightning. Mathieu, you were saying
> in the thread about GSOC that sparse functionality in the scikit could
> use some love. I tend to agree with you :).

Rather than improving the error message when passing sparse arrays to
the dense impl of SVC we should refactor SVC to accept both dense and
sparse representation and use the right wrapper as already done for
SGD, LinearSVC, LogisticRegression and others.

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

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
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-d2d
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to