de.lmu.ifi.dbs.elki.preprocessing
Class RangeQueryBasedHiCOPreprocessor<V extends RealVector<V,?>>
java.lang.Object
de.lmu.ifi.dbs.elki.logging.AbstractLoggable
de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable
de.lmu.ifi.dbs.elki.preprocessing.HiCOPreprocessor<V>
de.lmu.ifi.dbs.elki.preprocessing.RangeQueryBasedHiCOPreprocessor<V>
- Type Parameters:
V
- Vector type
- All Implemented Interfaces:
- Preprocessor<V>, Parameterizable
public class RangeQueryBasedHiCOPreprocessor<V extends RealVector<V,?>>
- extends HiCOPreprocessor<V>
Computes the HiCO correlation dimension of objects of a certain database. The
PCA is based on epsilon range queries.
- Author:
- Elke Achtert
Constructor Summary |
RangeQueryBasedHiCOPreprocessor()
Provides a new Preprocessor that computes the correlation dimension of
objects of a certain database based on a range query. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EPSILON_ID
public static final OptionID EPSILON_ID
- OptionID for
EPSILON_PARAM
EPSILON_PARAM
protected final PatternParameter EPSILON_PARAM
- Parameter to specify the epsilon used in the preprocessor
Key:
-preprocessor.epsilon
epsilon
protected String epsilon
- Epsilon.
RangeQueryBasedHiCOPreprocessor
public RangeQueryBasedHiCOPreprocessor()
- Provides a new Preprocessor that computes the correlation dimension of
objects of a certain database based on a range query.
objectIDsForPCA
protected List<Integer> objectIDsForPCA(Integer id,
Database<V> database,
boolean verbose,
boolean time)
- Description copied from class:
HiCOPreprocessor
- Returns the ids of the objects stored in the specified database to be
considered within the PCA for the specified object id.
- Specified by:
objectIDsForPCA
in class HiCOPreprocessor<V extends RealVector<V,?>>
- Parameters:
id
- the id of the object for which a PCA should be performeddatabase
- the database holding the objectsverbose
- flag to allow verbose messages while performing the
algorithmtime
- flag to request output of performance time
- Returns:
- the list of the object ids to be considered within the PCA
resultsForPCA
protected List<DistanceResultPair<DoubleDistance>> resultsForPCA(Integer id,
Database<V> database,
boolean verbose,
boolean time)
- Description copied from class:
HiCOPreprocessor
- Returns the ids of the objects and distances stored in the specified
database to be considered within the PCA for the specified object id.
- Specified by:
resultsForPCA
in class HiCOPreprocessor<V extends RealVector<V,?>>
- Parameters:
id
- the id of the object for which a PCA should be performeddatabase
- the database holding the objectsverbose
- flag to allow verbose messages while performing the
algorithmtime
- flag to request output of performance time
- Returns:
- the list of the object ids to be considered within the PCA
setParameters
public List<String> setParameters(List<String> args)
throws ParameterException
- Sets the value for the required parameter k.
- Specified by:
setParameters
in interface Parameterizable
- Overrides:
setParameters
in class HiCOPreprocessor<V extends RealVector<V,?>>
- Parameters:
args
- parameters to set the attributes accordingly to
- Returns:
- a list containing the unused parameters
- Throws:
ParameterException
- in case of wrong parameter-setting
shortDescription
public String shortDescription()
- Returns a description of the class and the required parameters. This
description should be suitable for a usage description.
- Specified by:
shortDescription
in interface Parameterizable
- Overrides:
shortDescription
in class AbstractParameterizable
- Returns:
- String a description of the class and the required parameters