On Tue, 08 May 2012, Gael Varoquaux wrote:
> > I wonder what is the current approach to reproduce random failures of
> > the tests battery?
> There shouldn't be any :(.
I concur! ;)
> > would it be feasible to suggest (PR) for sklearn/test_setup.py (I guess)
> > to seed RNGs with some random but known seed and print it out
> We try to do that as much as possible. AFAIK there are no unseeded RNGs,
> but I am worried that we might have let things go through.
is there a point where generic numpy.random gets explicitly seeded
upon sklearn import?
> > File "/usr/lib/python2.7/dist-packages/scipy/sparse/base.py", line 71, in
> > set_shape
> > raise ValueError('invalid shape')
> > ValueError: invalid shape
> I have been having this one every once in a while. It's hard to
> reproduce, and I don't understand it :(.
I guess then such global seeding would be of great help ;)
> > 3. I lost record of it but it was about ICA and failure to equate 1.0 to
> > 0.994... up to two decimals which looked weird to me (do not remember
> > location or details -- sorry)
> Is that reproducible (I guess not, or you would be able to give us more
> detail). ICA might be a code line in which we forgot the control the seed
> of the random init.
since it happened on my laptop I guess I have no chance but to bombard
it with testing while trying to reproduce... but for that I better also
first provide that deterministic seeding, otherwise it might be of no
use :-/
> Thanks for the report,
"Pleasure" is mine ;)
--
Yaroslav O. Halchenko
Postdoctoral Fellow, Department of Psychological and Brain Sciences
Dartmouth College, 419 Moore Hall, Hinman Box 6207, Hanover, NH 03755
Phone: +1 (603) 646-9834 Fax: +1 (603) 646-1419
WWW: http://www.linkedin.com/in/yarik
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general