statsmodels.nonparametric.kde.KDEUnivariate.entropy#

KDEUnivariate.entropy[source]#

Returns the differential entropy evaluated at the support

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