Package jline.api.measures
Class Ms_mutinfo
java.lang.Object
jline.api.measures.Ms_mutinfo
Mutual information for discrete variables.
Computes mutual information I(X,Y) = H(X) + H(Y) - H(X,Y) measuring the amount of information obtained about one variable through observing the other. Fundamental measure in feature selection, clustering validation, and dependency analysis.
- Since:
- LINE 3.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic doublems_mutinfo(Matrix x, Matrix y) Compute mutual information I(x,y) of two discrete variables x and y.
-
Method Details
-
ms_mutinfo
Compute mutual information I(x,y) of two discrete variables x and y.- Parameters:
x- first matrixy- second matrix of the same length- Returns:
- mutual information z=I(x,y)
-