On Mon, Mar 26, 2012 at 10:41 PM, xinfan meng <[email protected]> wrote:
>
> I know the majority votes things. But actually the correct answer should
> be [0, 1, 2].


[2, 1, 0] in my previous email is not the output of predict(), that's the
votes for X[0]. In this case, class 0 got the most votes so it is chosen.
 If you check the votes for X[1] and X[2] with the decision_function values
you showed in your first email, you get the right predictions. I checked!

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