Environment for
DeveLoping
KDD-Applications
Supported by Index-Structures

de.lmu.ifi.dbs.elki.preprocessing
Class RangeQueryBasedHiCOPreprocessor<V extends RealVector<V,?>>

java.lang.Object
  extended by de.lmu.ifi.dbs.elki.logging.AbstractLoggable
      extended by de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable
          extended by de.lmu.ifi.dbs.elki.preprocessing.HiCOPreprocessor<V>
              extended by de.lmu.ifi.dbs.elki.preprocessing.RangeQueryBasedHiCOPreprocessor<V>
All Implemented Interfaces:
Loggable, 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

Field Summary
protected  String epsilon
          Epsilon.
static String EPSILON_D
          Description for parameter epsilon.
static String EPSILON_P
          Parameter for epsilon.
 
Fields inherited from class de.lmu.ifi.dbs.elki.preprocessing.HiCOPreprocessor
DEFAULT_PCA_CLASS, DEFAULT_PCA_DISTANCE_FUNCTION, PCA_CLASS_D, PCA_CLASS_P, PCA_DISTANCE_FUNCTION_D, PCA_DISTANCE_FUNCTION_P, pcaClassName, pcaDistanceFunction
 
Fields inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable
optionHandler
 
Fields inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debug
 
Constructor Summary
RangeQueryBasedHiCOPreprocessor()
          Provides a new Preprocessor that computes the correlation dimension of objects of a certain database based on a range query.
 
Method Summary
 String description()
          Returns a description of the class and the required parameters.
protected  List<Integer> objectIDsForPCA(Integer id, Database<V> database, boolean verbose, boolean time)
          Returns the ids of the objects stored in the specified database to be considerd within the PCA for the specified object id.
 String[] setParameters(String[] args)
          Sets the value for the required parameter k.
 
Methods inherited from class de.lmu.ifi.dbs.elki.preprocessing.HiCOPreprocessor
getAttributeSettings, run
 
Methods inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable
addOption, checkGlobalParameterConstraints, deleteOption, description, description, getParameters, getParameterValue, getPossibleOptions, inlineDescription, isSet, setParameters
 
Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable
debugFine, debugFiner, debugFinest, exception, message, progress, progress, progress, verbose, verbose, warning
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.lmu.ifi.dbs.elki.utilities.optionhandling.Parameterizable
checkGlobalParameterConstraints, getParameters, getPossibleOptions, inlineDescription
 

Field Detail

EPSILON_P

public static final String EPSILON_P
Parameter for epsilon.

See Also:
Constant Field Values

EPSILON_D

public static final String EPSILON_D
Description for parameter epsilon.

See Also:
Constant Field Values

epsilon

protected String epsilon
Epsilon.

Constructor Detail

RangeQueryBasedHiCOPreprocessor

public RangeQueryBasedHiCOPreprocessor()
Provides a new Preprocessor that computes the correlation dimension of objects of a certain database based on a range query.

Method Detail

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 considerd 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 performed
database - the database holding the objects
verbose - flag to allow verbose messages while performing the algorithm
time - flag to request output of performance time
Returns:
the list of the object ids to be considerd within the PCA
See Also:
HiCOPreprocessor.objectIDsForPCA(Integer, de.lmu.ifi.dbs.elki.database.Database, boolean, boolean)

setParameters

public String[] setParameters(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:
String[] an array containing the unused parameters
Throws:
ParameterException - in case of wrong parameter-setting
See Also:
Parameterizable.setParameters(String[])

description

public String description()
Returns a description of the class and the required parameters.

This description should be suitable for a usage description.

Specified by:
description in interface Parameterizable
Overrides:
description in class AbstractParameterizable
Returns:
String a description of the class and the required parameters
See Also:
Parameterizable.description()

Release 0.1 (2008-07-10_1838)