Wednesday, 24 April 2019

np.random.randn() . vs. np.random.rand() vs. np.random.randint()

Below values are uniform distribution.  (what is uniform distribution:

This can be used to slow down gradient descent.

randn() .  will give you random value  from  -2.58 to +2.58

rand() will give you random value [0,1)

randint will return you value with given range

No comments:

Post a comment