Re: [Scikit-learn-general] reproducing test failures

2012-05-08 Thread Tiziano Zito
is there a point where generic numpy.random gets explicitly seeded upon sklearn import? No, and I don't think that this is desirable: it would be a weird side effect of importing the scikit. It might be interesting to seed the global RNG in the tests, but I have found such an approach

Re: [Scikit-learn-general] reproducing test failures

2012-05-09 Thread Tiziano Zito
a bit off-topic, but tests ... but @seed'ing every test is somewhat a burden (probably a wise solution would be to come with with a nose plugin or smth to seed RNG before running every test) I am surprised nose does not offer that. py.test has it built-in, you just need to define globally the

Re: [Scikit-learn-general] Nonn-ASCII in source files

2013-08-28 Thread Tiziano Zito
UTF-8 characters are not very pleasant to work with, as only a fraction of the world knows how to type them (that fraction depends on the corresponding character). I notice that they have creeped in a bunch of our files. I'll try to remove them (if I find time). I believe that we should