Добрый день. Мне нужно описать корректно что выполняет данная функция. Подскажите, здесь параметры нормального распределения это: среднее и среднеквадратическое отклонение? А norm.pdf(item, loc=l, scale=s) рассчитывает вероятности? Я пытаюсь вычислить энтропию.
pdf(x, loc=0, scale=1) - Probability density function. //docs.scipy.org
Может поможет описание аналогичной функции с mathworks:
y = normpdf(x) //returns the probability density function (pdf) of the standard normal distribution, evaluated at the values in x.
y = normpdf(x,mu) //returns the pdf of the normal distribution with mean mu and the unit standard deviation, evaluated at the values in x.
y = normpdf(x,mu,sigma) //returns the pdf of the normal distribution with mean mu and standard deviation sigma, evaluated at the values in x.