public abstract class MutualInformation extends Object
Modifier and Type | Method and Description |
---|---|
static double |
calculateConditionalMutualInformation(double[] firstVector,
double[] secondVector,
double[] conditionVector)
Calculates the conditional Mutual Information I(X;Y|Z) between two random variables, conditioned on
a third.
|
static double |
calculateMutualInformation(double[] firstVector,
double[] secondVector)
Calculates the Mutual Information I(X;Y) between two random variables.
|
public static double calculateMutualInformation(double[] firstVector, double[] secondVector)
firstVector
- Input vector (X). It is discretised to the floor of each value before calculation.secondVector
- Input vector (Y). It is discretised to the floor of each value before calculation.public static double calculateConditionalMutualInformation(double[] firstVector, double[] secondVector, double[] conditionVector)
firstVector
- Input vector (X). It is discretised to the floor of each value before calculation.secondVector
- Input vector (Y). It is discretised to the floor of each value before calculation.conditionVector
- Input vector (Z). It is discretised to the floor of each value before calculation.Jas4pp 1.5 © Java Analysis Studio for Particle Physics