How to use Weibull function to generate a random number that it follows between a given range? I know there is an inbuilt function weibull_min.rvs(k, loc=0, scale=lam, size=n,random_state=5) that generates n number of points when given shape and scale parameters but I want it to generate random numbers within a range, not the entire dataset.
Note: Range might be integer set like between 2 and 3. Generate random numbers that follow Weibull distribution.
Aucun commentaire:
Enregistrer un commentaire