SciPy Library
s used for running scientific and mathematical computations. You are specifically going to use a part of the library that implements Gaussian distributions.
Demo: Probability Density Function
Calculating Probability
Here are a few more examples of the cdf method. The code cell below prints out the probability that the temperature is between:
-infinity and 25
-infinity and 75
-infinity and 125
-infinity and +infinity
Last updated
Was this helpful?