[Numpy-discussion] numpy.random and multiprocessing

Robert Kern robert.kern@gmail....
Thu Dec 11 14:49:50 CST 2008

On Thu, Dec 11, 2008 at 07:20, Gael Varoquaux
<gael.varoquaux@normalesup.org> wrote:

> The take home message is:
> **call 'numpy.random.seed()' when you are using multiprocessing**

Create RandomState objects and use those. This is a best practice
whether you are using multiprocessing or not. The module-level
functions really should only be used for noodling around in IPython.

Robert Kern

"I have come to believe that the whole world is an enigma, a harmless
enigma that is made terrible by our own mad attempt to interpret it as
though it had an underlying truth."
  -- Umberto Eco

More information about the Numpy-discussion mailing list