public class EmpiricalEntropy extends Entropy
ERROR_VALUE| Constructor and Description |
|---|
EmpiricalEntropy()
Constructor with no pseudo count
|
EmpiricalEntropy(double pseudoCount)
Constructor that use a pseudo count value added to occurrences
|
| Modifier and Type | Method and Description |
|---|---|
double |
entropy(double[] frequencies,
int distinctValues,
int numberOfValues)
Compute the entropy of a vector of values (non missing values (NaN))
|
boolean |
hasNativeImplementation()
Know if the measure owns a native implementation
|
entropy, jointEntropy, measure, requireDataTransformation, transformpublic EmpiricalEntropy()
public EmpiricalEntropy(double pseudoCount)
pseudoCount - The pseudo count valuepublic double entropy(double[] frequencies,
int distinctValues,
int numberOfValues)
Entropypublic boolean hasNativeImplementation()
MeasurehasNativeImplementation in interface MeasurehasNativeImplementation in class Entropy