Le 26 mars 2012 16:08, Mathieu Blondel <[email protected]> a écrit :
> Since SVC.decision_function is always confusing everyone, instead of
> returning an array of shape [n_samples, n_classes * (n_classes - 1) / 2], we
> could return an array of shape [n_samples, n_classes] with the votes
> obtained by each class. Then an argmax() on this array would lead to the
> same results as predict().

Sounds like a good idea but that might break some plots in the
examples. If someone submits the change we should take care of
checking the example plots before merging.

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

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to