Closed guilgautier closed 2 years ago
Numpy now makes use of [Generator
s](https://numpy.org/doc/stable/reference/random/generator.html)
The Generator provides access to a wide range of distributions, and served as a replacement for RandomState.
In the end, we use get_random_number_generator(seed) = np.random.default_rng(seed)
It would be great to be able to pass a
random_state
orseed
orrng
argument for reproducibility when calling function involving random variables. See also thecheck_random_state
function in sklearn https://github.com/scikit-learn/scikit-learn/blob/a45c0c99a38cffca6724cb8fd38b12edd4fb6b35/sklearn/utils/validation.py#L926