MillerMadowEntropyEstimator#
- class infomeasure.estimators.entropy.MillerMadowEntropyEstimator(*args, **kwargs)[source]
Bases:
DiscreteHEstimatorDiscrete Miller-Madow entropy estimator.
\[\hat{H}_{\tiny{MM}} = \hat{H}_{\tiny{MLE}} + \frac{K - 1}{2N}\]\(\hat{H}_{\tiny{MM}}\) is the Miller-Madow entropy, where \(\hat{H}_{\tiny{MLE}}\) is the maximum likelihood entropy (
DiscreteEntropyEstimator). \(K\) is the number of unique values in the data, and \(N\) is the number of observations.- Attributes:
- *dataarray_like
The data used to estimate the entropy.