(1) When I try to use it with a sparse matrix I get (for a binary problem):

--> 585         proba = np.ones((len(X), 2), dtype=np.float64)
--> 175         raise TypeError("sparse matrix length is ambiguous;
use getnnz()"
    176                          " or shape[0]")

(2) When I try to use it for a multiclass problem, it's not
implemented, but I'd like to know if it's doable, or if there's a
particular reason (i.e. theoretical) why it isn't.

------------------------------------------------------------------------------
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
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to