Tag: numpy

python – What does numpy.random.seed(0) do?

The Question : 335 people think this question is useful What does np.random.seed do in the below code from a Scikit-Learn tutorial? I’m not very familiar with NumPy’s random state generator stuff, so I’d really appreciate a layman’s terms explanation of this. The Question Comments : I found this article very helpful in understanding np.random.seed()