|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectbe.ac.ulb.mlg.utils.measure.Entropy
be.ac.ulb.mlg.utils.measure.entropy.DirichletEntropy
public abstract class DirichletEntropy
Abstract Dirichlet probability distribution for entropy estimator.
| Field Summary | |
|---|---|
static double |
EULER_MASCHERONI
The Euler-Mascheroni constant |
| Fields inherited from interface be.ac.ulb.mlg.utils.Measure |
|---|
ERROR_VALUE |
| Constructor Summary | |
|---|---|
DirichletEntropy()
|
|
| Method Summary | |
|---|---|
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 |
boolean |
requireDataTransformation()
Know if the measure need to transform input data (input data are copied to be preserved) |
void |
transform(double[][] data)
The transformation method called before measurement |
| Methods inherited from class be.ac.ulb.mlg.utils.measure.Entropy |
|---|
entropy, jointEntropy, measure |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final double EULER_MASCHERONI
| Constructor Detail |
|---|
public DirichletEntropy()
| Method Detail |
|---|
public double entropy(double[] frequencies,
int distinctValues,
int numberOfValues)
Entropy
entropy in class Entropyfrequencies - The occurrences array (of values)distinctValues - The number of distinct valuesnumberOfValues - The number of values
public boolean hasNativeImplementation()
Measure
hasNativeImplementation in interface MeasurehasNativeImplementation in class Entropypublic boolean requireDataTransformation()
Measure
requireDataTransformation in interface MeasurerequireDataTransformation in class Entropypublic void transform(double[][] data)
Measure
transform in interface Measuretransform in class Entropydata - An input data vector to be measured
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||