[SciPy-dev] random seed in scipy.stats
Hoyt Koepke
hoytak@gmail....
Sun Apr 20 19:36:21 CDT 2008
> I prefer just being able to pass in a RandomState object. It's a
> subtle encouragement to do the right thing, which is to share a single
> RandomState object. People who *really* want to just pass in a seed
> just need to wrap that seed with RandomState(seed). "There should be
> one-- and preferably only one --obvious way to do it."
Fair enough. I'll do that. It works best for my particular application anyway.
> <shrug> I like it. I think it's the best mix of terseness and comprehensibility.
k, prng it is.
-- Hoyt
--
+++++++++++++++++++++++++++++++++++
Hoyt Koepke
UBC Department of Computer Science
http://www.cs.ubc.ca/~hoytak/
hoytak@gmail.com
+++++++++++++++++++++++++++++++++++
More information about the Scipy-dev
mailing list