python正态分布
Python-正态分布 (Python - Normal Distribution)
The normal distribution is a form presenting data by arranging the probability distribution of each value in the data.Most values remain around the mean value making the arrangement symmetric.
正态分布是通过排列数据中每个值的概率分布来呈现数据的形式,大多数值保持在平均值附近,从而使排列对称。
We use various functions in numpy library to mathematically calculate the values for a normal distribution. Histograms are created over which we plot the probability distribution curve.
我们使用numpy库中的各种函数来数学计算正态分布的值。 将创建直方图,在该直方图上绘制概率分布曲线。
import matplotlib.pyplot as plt
import numpy as np
mu, sigma