samedi 14 mai 2016

Difference between RandomState and seed in numpy

I have read the documentation but I still find difficult to understand the difference between the use of

numpy.random.RandomState(0) 

or

numpy.random.seed(0)

Don't they both ensure that the process through which the random values are selected is the same and consistent across runs?




Aucun commentaire:

Enregistrer un commentaire