|
|
|||||||||||||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.logging.AbstractLoggable
de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable
de.lmu.ifi.dbs.elki.preprocessing.HiCOPreprocessor<V>
V - Vector typepublic abstract class HiCOPreprocessor<V extends RealVector<V,?>>
Abstract superclass for preprocessors for HiCO correlation dimension assignment to objects of a certain database.
| Field Summary | |
|---|---|
static String |
DEFAULT_PCA_DISTANCE_FUNCTION
The default distance function for the PCA. |
private PCAFilteredRunner<V,DoubleDistance> |
pca
PCA utility object |
static OptionID |
PCA_DISTANCE_ID
OptionID for PCA_DISTANCE_PARAM |
protected ClassParameter<DistanceFunction<V,DoubleDistance>> |
PCA_DISTANCE_PARAM
Parameter to specify the distance function used for running PCA. |
protected DistanceFunction<V,DoubleDistance> |
pcaDistanceFunction
The distance function for the PCA. |
| 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, logger |
| Constructor Summary | |
|---|---|
HiCOPreprocessor()
Provides a new Preprocessor that computes the correlation dimension of objects of a certain database. |
|
| Method Summary | |
|---|---|
protected abstract 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 considered within the PCA for the specified object id. |
protected abstract List<DistanceResultPair<DoubleDistance>> |
resultsForPCA(Integer id,
Database<V> database,
boolean verbose,
boolean time)
Returns the ids of the objects and distances stored in the specified database to be considered within the PCA for the specified object id. |
void |
run(Database<V> database,
boolean verbose,
boolean time)
This method determines the correlation dimensions of the objects stored in the specified database and sets the necessary associations in the database. |
List<String> |
setParameters(List<String> args)
Sets the values for the parameters alpha, pca and pcaDistancefunction if specified. |
| Methods inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable |
|---|
addOption, addParameterizable, addParameterizable, checkGlobalParameterConstraints, collectOptions, getAttributeSettings, getParameters, rememberParametersExcept, removeOption, removeParameterizable, shortDescription |
| Methods inherited from class de.lmu.ifi.dbs.elki.logging.AbstractLoggable |
|---|
debugFine, debugFiner, debugFinest, exception, progress, 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, collectOptions, getParameters, shortDescription |
| Field Detail |
|---|
public static final String DEFAULT_PCA_DISTANCE_FUNCTION
public static final OptionID PCA_DISTANCE_ID
PCA_DISTANCE_PARAM
protected final ClassParameter<DistanceFunction<V extends RealVector<V,?>,DoubleDistance>> PCA_DISTANCE_PARAM
-hico.pca.distance
protected DistanceFunction<V extends RealVector<V,?>,DoubleDistance> pcaDistanceFunction
private PCAFilteredRunner<V extends RealVector<V,?>,DoubleDistance> pca
| Constructor Detail |
|---|
public HiCOPreprocessor()
| Method Detail |
|---|
public void run(Database<V> database,
boolean verbose,
boolean time)
run in interface Preprocessor<V extends RealVector<V,?>>database - the database for which the preprocessing is performedverbose - flag to allow verbose messages while performing the
algorithmtime - flag to request output of performance time
public List<String> setParameters(List<String> args)
throws ParameterException
setParameters in interface ParameterizablesetParameters in class AbstractParameterizableargs - parameters to set the attributes accordingly to
ParameterException - in case of wrong parameter-setting
protected abstract List<Integer> objectIDsForPCA(Integer id,
Database<V> database,
boolean verbose,
boolean time)
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
protected abstract List<DistanceResultPair<DoubleDistance>> resultsForPCA(Integer id,
Database<V> database,
boolean verbose,
boolean time)
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
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||