- There would be 10000 samples.
- The mode of this distribution would be 100
- The distribution will mostly have values between 0 to 200, but few values ( with decreasing probablity can be as high as 5000 )
The probability distribution curve for the values would somewhat look like:
I have tried using random.triangular
and numpy.random.triangular
to generate such distributions with given low,high and mode, but triangular distribution is not very relevant to these requirements. How can such a normal distribution be achieved with random/numpy modules, using low (0) ,high (5000) ,mode (100) values provided ?
Aucun commentaire:
Enregistrer un commentaire