|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.distance.distancefunction.AbstractDatabaseDistanceFunction<O,D> de.lmu.ifi.dbs.elki.distance.distancefunction.AbstractIndexBasedDistanceFunction<NumberVector<?,?>,FilteredLocalPCAIndex<NumberVector<?,?>>,PCACorrelationDistance> de.lmu.ifi.dbs.elki.distance.distancefunction.correlation.PCABasedCorrelationDistanceFunction
public class PCABasedCorrelationDistanceFunction
Provides the correlation distance for real valued vectors.
Nested Class Summary | |
---|---|
static class |
PCABasedCorrelationDistanceFunction.Instance<V extends NumberVector<?,?>>
The actual instance bound to a particular database. |
static class |
PCABasedCorrelationDistanceFunction.Parameterizer
Parameterization class. |
Field Summary | |
---|---|
private double |
delta
Holds the value of DELTA_ID . |
static OptionID |
DELTA_ID
Parameter to specify the threshold of a distance between a vector q and a given space that indicates that q adds a new dimension to the space, must be a double equal to or greater than 0. |
(package private) static Logging |
logger
Logger for debug. |
Fields inherited from class de.lmu.ifi.dbs.elki.distance.distancefunction.AbstractIndexBasedDistanceFunction |
---|
indexFactory |
Fields inherited from interface de.lmu.ifi.dbs.elki.distance.distancefunction.IndexBasedDistanceFunction |
---|
INDEX_ID |
Constructor Summary | |
---|---|
PCABasedCorrelationDistanceFunction(IndexFactory<NumberVector<?,?>,FilteredLocalPCAIndex<NumberVector<?,?>>> indexFactory,
double delta)
Constructor |
Method Summary | ||
---|---|---|
boolean |
equals(Object obj)
|
|
PCACorrelationDistance |
getDistanceFactory()
Method to get the distance functions factory. |
|
|
instantiate(Relation<T> database)
Instantiate with a database to get the actual distance query. |
Methods inherited from class de.lmu.ifi.dbs.elki.distance.distancefunction.AbstractIndexBasedDistanceFunction |
---|
getInputTypeRestriction, isMetric, isSymmetric |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface de.lmu.ifi.dbs.elki.distance.distancefunction.DistanceFunction |
---|
getInputTypeRestriction, isMetric, isSymmetric |
Field Detail |
---|
static Logging logger
public static final OptionID DELTA_ID
Default value: 0.25
Key: -pcabasedcorrelationdf.delta
private double delta
DELTA_ID
.
Constructor Detail |
---|
public PCABasedCorrelationDistanceFunction(IndexFactory<NumberVector<?,?>,FilteredLocalPCAIndex<NumberVector<?,?>>> indexFactory, double delta)
indexFactory
- index factorydelta
- Delta parameterMethod Detail |
---|
public PCACorrelationDistance getDistanceFactory()
DistanceFunction
getDistanceFactory
in interface DistanceFunction<NumberVector<?,?>,PCACorrelationDistance>
getDistanceFactory
in class AbstractDatabaseDistanceFunction<NumberVector<?,?>,PCACorrelationDistance>
public <T extends NumberVector<?,?>> PCABasedCorrelationDistanceFunction.Instance<T> instantiate(Relation<T> database)
FilteredLocalPCABasedDistanceFunction
instantiate
in interface DistanceFunction<NumberVector<?,?>,PCACorrelationDistance>
instantiate
in interface FilteredLocalPCABasedDistanceFunction<NumberVector<?,?>,FilteredLocalPCAIndex<NumberVector<?,?>>,PCACorrelationDistance>
database
- The representation to use
public boolean equals(Object obj)
equals
in class Object
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |