|
|
|||||||||||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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>
public 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_CLASS
The default PCA class name. |
static String |
DEFAULT_PCA_DISTANCE_FUNCTION
The default distance function for the PCA. |
static String |
PCA_CLASS_D
Description for parameter pca. |
static String |
PCA_CLASS_P
Parameter for PCA. |
static String |
PCA_DISTANCE_FUNCTION_D
Description for parameter pca distance function. |
static String |
PCA_DISTANCE_FUNCTION_P
Parameter for pca distance function. |
protected String |
pcaClassName
The classname of the PCA to determine the strong eigenvectors. |
protected DistanceFunction<V,DoubleDistance> |
pcaDistanceFunction
The distance function for the PCA. |
private String[] |
pcaParameters
The parameter settings 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 |
Constructor Summary | |
---|---|
HiCOPreprocessor()
Provides a new Preprocessor that computes the correlation dimension of objects of a certain database. |
Method Summary | |
---|---|
List<AttributeSettings> |
getAttributeSettings()
Returns the parameter setting of the attributes. |
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 considerd 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. |
String[] |
setParameters(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, checkGlobalParameterConstraints, deleteOption, description, 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, description, getParameters, getPossibleOptions, inlineDescription |
Field Detail |
---|
public static final String DEFAULT_PCA_CLASS
public static final String PCA_CLASS_P
public static final String PCA_CLASS_D
public static final String DEFAULT_PCA_DISTANCE_FUNCTION
public static final String PCA_DISTANCE_FUNCTION_P
public static final String PCA_DISTANCE_FUNCTION_D
protected String pcaClassName
private String[] pcaParameters
protected DistanceFunction<V extends RealVector<V,?>,DoubleDistance> pcaDistanceFunction
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 timepublic String[] setParameters(String[] args) throws ParameterException
setParameters
in interface Parameterizable
setParameters
in class AbstractParameterizable
args
- parameters to set the attributes accordingly to
ParameterException
- in case of wrong parameter-settingParameterizable.setParameters(String[])
public List<AttributeSettings> getAttributeSettings()
getAttributeSettings
in interface Parameterizable
getAttributeSettings
in class AbstractParameterizable
Parameterizable.getAttributeSettings()
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
|
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |