I check the developed branch. This branch works good. Basically, 0.11 and
0.10 return different decision functions with different signs.

On Mon, Mar 26, 2012 at 10:10 PM, Alexandre Gramfort <
[email protected]> wrote:

> > Alex, I am afraid some codes have been broken...
>
> I don't think there is:
>
> In [1]: from sklearn.svm import SVC
> In [2]: X = [[0], [1]]
> In [3]: Y = [0, 1]
> In [5]: clf = SVC()
> In [8]: clf.fit(X, Y).decision_function(1)
> Out[8]: array([[ 0.63212056]])
> In [9]: clf.fit(X[::-1], Y[::-1]).decision_function(1)
> Out[9]: array([[ 0.63212056]])
>
> @mblondel we're good
>
> Alex
>
>
> ------------------------------------------------------------------------------
> 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
>



-- 
Best Wishes
--------------------------------------------
Meng Xinfan(蒙新泛)
Institute of Computational Linguistics
Department of Computer Science & Technology
School of Electronic Engineering & Computer Science
Peking University
Beijing, 100871
China
------------------------------------------------------------------------------
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