
public class MutualInformationEquiwidthDependenceMeasure extends AbstractDependenceMeasure
mi/log(nbins).
This both cancels out the logarithm base, and normalizes for the number of
bins (a uniform distribution will yield a MI with itself of 1).
TODO: Offer normalized and non-normalized variants?
For a median-based discretization, see MCEDependenceMeasure.| Modifier and Type | Class and Description |
|---|---|
static class |
MutualInformationEquiwidthDependenceMeasure.Parameterizer
Parameterization class.
|
| Modifier and Type | Field and Description |
|---|---|
static MutualInformationEquiwidthDependenceMeasure |
STATIC
Static instance.
|
| Modifier | Constructor and Description |
|---|---|
protected |
MutualInformationEquiwidthDependenceMeasure()
Constructor - use
STATIC instance. |
| Modifier and Type | Method and Description |
|---|---|
<A,B> double |
dependence(NumberArrayAdapter<?,A> adapter1,
A data1,
NumberArrayAdapter<?,B> adapter2,
B data2)
Measure the dependence of two variables.
|
clamp, computeNormalizedRanks, dependence, dependence, dependence, discretize, index, ranks, ranks, size, size, sortedIndexpublic static final MutualInformationEquiwidthDependenceMeasure STATIC
protected MutualInformationEquiwidthDependenceMeasure()
STATIC instance.public <A,B> double dependence(NumberArrayAdapter<?,A> adapter1, A data1, NumberArrayAdapter<?,B> adapter2, B data2)
DependenceMeasuredependence in interface DependenceMeasuredependence in class AbstractDependenceMeasureA - First array typeB - Second array typeadapter1 - First data adapterdata1 - First data setadapter2 - Second data adapterdata2 - Second data setCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.