On Mon, Apr 25, 2011 at 11:05:05AM -0700, T J wrote:
> If code A relies on code B (eg, some numpy function) and code B
> changes, then the stream of random numbers will no longer be the same.
> The point here is that the user wrote code A but depended on code B,
> and even though code A was unchan
On Mon, Apr 25, 2011 at 9:57 AM, Gael Varoquaux
wrote:
>
> We thought that we could simply have a PRNG per object, as in:
>
> def __init__(self, prng=None):
> if prng is None:
> prng = np.random.RandomState()
> self.prng = prng
>
> I don't like this option, because it m
Hi there,
We are courrently having a discussion on the scikits learn mailing list
about which patterns to adopt for random number generation. One thing
that is absolutely clear is that making the stream of random numbers
reproducible is critical. We have several objects that can serve as random
va