2012/9/11 Dimitrios Pritsos <[email protected]>:
> Hello,
>
> Could you please tell me how sklearn treats sparse matrices when one is
> using SVM API in the latest fromGithub version. In previous version
> there was a .sparse, which it is still there, however it has been
> removed from the 0.12 API Ref. Should I treat my sparse matrices, using
> the old style API or the lib treats them properly implicitly.

What do you mean by "treat my sparse matrices"?

sklearn.svm.SVC works with both scipy.sparse matrices and numpy arrays
as input as written in the docstring.

Note, to follow the API changes read:

http://scikit-learn.org/dev/whats_new.html

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

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to