Package elki.math.statistics.dependence
Class SlopeDependence
- java.lang.Object
-
- elki.math.statistics.dependence.SlopeDependence
-
- All Implemented Interfaces:
Dependence
- Direct Known Subclasses:
SlopeInversionDependence
@Reference(authors="Elke Achtert, Hans-Peter Kriegel, Erich Schubert, Arthur Zimek", title="Interactive Data Mining with 3D-Parallel-Coordinate-Trees", booktitle="Proc. 2013 ACM Int. Conf. on Management of Data (SIGMOD 2013)", url="https://doi.org/10.1145/2463676.2463696", bibkey="DBLP:conf/sigmod/AchtertKSZ13") public class SlopeDependence extends java.lang.Object implements Dependence
Arrange dimensions based on the entropy of the slope spectrum.This version only accepts positive correlations, see also
SlopeInversionDependence.Reference:
Elke Achtert, Hans-Peter Kriegel, Erich Schubert, Arthur Zimek:
Interactive Data Mining with 3D-Parallel-Coordinate-Trees.
Proc. 2013 ACM Int. Conf. on Management of Data (SIGMOD 2013)TODO: shouldn't this be normalized by the single-dimension entropies or so?
- Since:
- 0.5.5
- Author:
- Erich Schubert, Robert Rödler
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSlopeDependence.ParParameterization class.-
Nested classes/interfaces inherited from interface elki.math.statistics.dependence.Dependence
Dependence.Utils
-
-
Field Summary
Fields Modifier and Type Field Description protected static doubleLOG_PRECISIONPrecision for entropy normalization.protected static intPRECISIONFull precision.protected static doubleRESCALEScaling factor.static SlopeDependenceSTATICStatic instance.
-
Constructor Summary
Constructors Modifier Constructor Description protectedSlopeDependence()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <A,B>
doubledependence(NumberArrayAdapter<?,A> adapter1, A data1, NumberArrayAdapter<?,B> adapter2, B data2)Measure the dependence of two variables.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface elki.math.statistics.dependence.Dependence
dependence, dependence, dependence
-
-
-
-
Field Detail
-
STATIC
public static final SlopeDependence STATIC
Static instance.
-
PRECISION
protected static final int PRECISION
Full precision.- See Also:
- Constant Field Values
-
LOG_PRECISION
protected static final double LOG_PRECISION
Precision for entropy normalization.
-
RESCALE
protected static final double RESCALE
Scaling factor.- See Also:
- Constant Field Values
-
-
Method Detail
-
dependence
public <A,B> double dependence(NumberArrayAdapter<?,A> adapter1, A data1, NumberArrayAdapter<?,B> adapter2, B data2)
Description copied from interface:DependenceMeasure the dependence of two variables.This is the more flexible API, which allows using different internal data representations.
- Specified by:
dependencein interfaceDependence- Type Parameters:
A- First array typeB- Second array type- Parameters:
adapter1- First data adapterdata1- First data setadapter2- Second data adapterdata2- Second data set- Returns:
- Dependence measure
-
-