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().

Mathieu
------------------------------------------------------------------------------
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