statsmodels.nonparametric.kde.KDEUnivariate.entropy

method

KDEUnivariate.entropy()[source]

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.