I have to generate random values from an interval for a machine learning task. I want to have a normal distribution within a range in numpy and I searched on web for it. I found this question How to get a normal distribution within a range in numpy? but I don't have any column for standart deviation.
The values are like this :
−21.8 ± 6.7
−4.3 ± 0.1
−7.4 ± 0.5
So I know minimum value and maximum value. But there is nothing about standart deviation.
Thanks.
Edit:
I want to generate 10 values from these values. The first value is the mean. Second value show the distance between max (and the min) value and mean. To be clear:
x = -21.8
The minimum value of the graph will be -21.8 - 6.7 = -29.5
The maximum value of the graph will be -21.8 + 6.7 = -15.1