swyft icon indicating copy to clipboard operation
swyft copied to clipboard

introduce new numpy random_state, especially in store, for reproducibility

Open bkmi opened this issue 4 years ago • 2 comments

For reproducibility there is the option to split the seed, we should use it.

https://numpy.org/doc/stable/reference/random/index.html?

https://github.com/undark-lab/swyft/blob/07a5bffb543b4afab050cfc63c897215ccb6b355/swyft/store/store.py#L94-L131

bkmi avatar Jul 13 '21 08:07 bkmi

This would be nice for the next release, for reproducibility when dealing with multiprocessing.

bkmi avatar Nov 05 '21 09:11 bkmi

This would be still useful, keep it for v0.4 as optional enhancement.

cweniger avatar May 13 '23 21:05 cweniger