I have to use the exponential distribution random number function to generate 50,000 numbers between 0 and 1, however, I can't figure out how to set the bounds. I thought that np.random.exponential(1.0) was how you were supposed to do it, however I had numbers in my list that were greater than 1. I've looked everywhere and I haven't been able to get a straight answer if and how I can generate numbers between 0 and 1.
Aucun commentaire:
Enregistrer un commentaire