[Numpy-discussion] random permutation
seb.haase at gmx.net
Sat Jan 13 12:16:17 CST 2007
On 1/13/07, Keith Goodman <kwgoodman at gmail.com> wrote:
> On 1/11/07, Robert Kern <robert.kern at gmail.com> wrote:
> > Keith Goodman wrote:
> > > Why is the first element of the permutation always the same? Am I
> > > using random.permutation in the right way?
> > >>> M.__version__
> > > '1.0rc1'
> > This has been fixed in more recent versions.
> > http://projects.scipy.org/scipy/numpy/ticket/374
> I don't see any unit tests for numpy.random. I guess randomness is hard to test.
> Would it help to seed the random number generator and at least check
> that you get the same result you got before? No existing problems
> would be found. But new ones might be caught.
Is it guaranteed that a given seed produces the same sequence of
rand-number between different platforms ?
I thought this might only be guaranteed for "any given computer" to
reproduce the same numbers.
More information about the Numpy-discussion