2013/1/6 Andreas Mueller <[email protected]>: > Hi everybody. > I'm a bit confused by our usage of random numbers in the tests. > Usually all tests have fixed random seeds. But then there is a global > random state that is set > explicitly and printed for reproducability. > What is that state for?
It's a way to reproduce failures caused by missing random_state. > One of the open issues was caused by the test using this global state - > actually > the test even said it was using the global random state! I would rather avoid using using the shared random number generator to avoid having tests that depends on the running order. -- Olivier http://twitter.com/ogrisel - http://github.com/ogrisel ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_123012 _______________________________________________ Scikit-learn-general mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
