[SciPy-dev] New random capability [was: Release of scipy core...]

Robert Kern rkern at ucsd.edu
Thu Sep 29 03:11:49 CDT 2005


Tom Loredo wrote:
> Actually, I think some users need more than this (I certainly speak
> at least for myself!).  I think there should be capability to store
> the full current state, and restore it.  This would let you not
> only repeat an earlier calculation verbatim, but also pick up where
> you left off, so to speak, guaranteeing you the properties of the
> full chain through many subsequent runs, as well as the ability
> to backtrack to some extent.

scipy.stats.RandomState is now pickleable (and incidentally copyable
through the copy module).

-- 
Robert Kern
rkern at ucsd.edu

"In the fields of hell where the grass grows high
 Are the graves of dreams allowed to die."
  -- Richard Harter




More information about the Scipy-dev mailing list