Skip to content

Seed arg is not working

The seed command line is not working as intended: it does not allow to perform reproducible stochastic processes.

The reason is that seed is used to initialise the RandomState from Numpy but this RandomState is not used to draw random values. Random values are indeed drawn using np.random that generate a new RandomState each time. A way to solve this would be to propagate the RandomState that was initialised with seed to use it for random draws.