2012/1/23 Mathieu Blondel <[email protected]>:
> On Tue, Jan 24, 2012 at 2:47 AM, Olivier Grisel
> <[email protected]> wrote:
>
>> Tests are fine on numpy 1.5.1 and scipy 0.10.0:
>>
>> https://jenkins.shiningpanda.com/scikit-learn/job/python-2.7-numpy-1.5.1-scipy-0.10.0/
>>
>> Maybe a 1.6.1 specific issue? If this is a rounding issue triggering a
>> classification switch on the iris dataset I cannot see any "clean" fix
>> for this issue.
>
> LinearSVC is not completely deterministic IIRC and we don't control
> the seed. Using SGDClassifier with seed=0 instead may do the trick.

Indeed that must be it. +1 for the suggested fix with s/seed/random_state/g.

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

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to