Random module in Numpy

I have noticed that we can put any number inside of numpy.random.seed() ,
For example numpy.random.seed(1), numpy.random.seed(100) .

What do the different numbers mean? How do we choose which number is to be set as seed?

Hey @gautam75, there is no rule as such to choose these numbers. All of them are pseudo random numbers. Seed function is used to save the state of a random function, so that it can generate same random numbers on multiple executions of the code on the same machine or on different machines (for a specific seed value).

I hope this helps ! :smile:
Happy Learning ! :+1:

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.