statsmodels.nonparametric.kde.KDEUnivariate.entropy

KDEUnivariate.entropy

Returns the differential entropy evaluated at the support

Notes

Will not work if fit has not been called. 1e-12 is added to each probability to ensure that log(0) is not called.


Last update: Nov 14, 2024