jaberg/pyll — Issue #4: how do I sample a consistent random seem in pyll?
Author: yamins81
Created: 2012-02-17 15:50:01+00:00
State: open

e.g. the replacement of

genson_template.sample(seed)

?

Right now,

stochastic.sample(template, np.random.RandomState(seed))

does NOT yield the same result on each call with a fixed seed, e.g. 0. Is it supposed to? If so, I'll submit a test