On Sat, Aug 24, 2013 at 1:41 PM, Peter Prettenhofer <
peter.prettenho...@gmail.com> wrote:
> Hi,
>
> while investigating some 64bit vs. 32bit differences in the GBRT code I
> stumpled upon this ticket [1].
> Even though its quite old, I can confirm that it holds on my virtual
> machines (np 1.7.1).
> Basically, np.random.RandomState(seed) gives different results on 64bit
> and 32bit architectures - this might cause different results on different
> architectures for a number of algorithms incl. stochastic gradient
> boosting, random forest, SGD
>
Are you sure this is not a pickle issue?
using seed=123 without pickling, I get the same numbers on Windows32 oldest
versions that I have and Windows64 newest versions.
Also, IIRC, numpy.random has unit tests that check that the random numbers
that are generated are platform independent, and the same across versions.
(there was a mess, when Enthought once changed the random number generator
for the normal distribution, that triggered the addition of those unit
tests.)
Josef
>
> best,
> Peter
>
> [1] http://mail.scipy.org/pipermail/numpy-tickets/2007-March/000810.html
>
> --
> Peter Prettenhofer
>
>
> ------------------------------------------------------------------------------
> Introducing Performance Central, a new site from SourceForge and
> AppDynamics. Performance Central is your source for news, insights,
> analysis and resources for efficient Application Performance Management.
> Visit us today!
> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
> _______________________________________________
> Scikit-learn-general mailing list
> Scikit-learn-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
>
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general