|
|
|||||||||||||||||||||
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.ProjectedDBSCANPreprocessor<D,V>
de.lmu.ifi.dbs.elki.preprocessing.PreDeConPreprocessor<D,V>
D
- Distance typeV
- Vector typepublic class PreDeConPreprocessor<D extends Distance<D>,V extends RealVector<V,?>>
Preprocessor for PreDeCon local dimensionality and locally weighted matrix assignment to objects of a certain database.
Field Summary | |
---|---|
static double |
DEFAULT_DELTA
The default value for delta. |
protected double |
delta
The threshold for small eigenvalues. |
static OptionID |
DELTA_ID
OptionID for DELTA_PARAM |
private DoubleParameter |
DELTA_PARAM
Parameter for Delta |
private int |
kappa
The kappa value for generating the variance vector. |
Fields inherited from class de.lmu.ifi.dbs.elki.preprocessing.ProjectedDBSCANPreprocessor |
---|
DEFAULT_DISTANCE_FUNCTION, DISTANCE_FUNCTION_ID, EPSILON_PARAM, rangeQueryDistanceFunction |
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 | |
---|---|
PreDeConPreprocessor()
Provides a new Preprocessor that computes the local dimensionality and locally weighted matrix of objects of a certain database. |
Method Summary | |
---|---|
protected void |
runVarianceAnalysis(Integer id,
List<DistanceResultPair<D>> neighbors,
Database<V> database)
TODO provide correct commentary This method implements the type of variance analysis to be computed for a given point. |
List<String> |
setParameters(List<String> args)
Grabs all specified options from the option handler. |
String |
shortDescription()
Returns a short description of the class. |
Methods inherited from class de.lmu.ifi.dbs.elki.preprocessing.ProjectedDBSCANPreprocessor |
---|
run |
Methods inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable |
---|
addOption, addParameterizable, addParameterizable, checkGlobalParameterConstraints, collectOptions, getAttributeSettings, getParameters, rememberParametersExcept, removeOption, removeParameterizable |
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 |
Field Detail |
---|
public static final double DEFAULT_DELTA
public static final OptionID DELTA_ID
DELTA_PARAM
private final DoubleParameter DELTA_PARAM
protected double delta
private final int kappa
Constructor Detail |
---|
public PreDeConPreprocessor()
Method Detail |
---|
protected void runVarianceAnalysis(Integer id, List<DistanceResultPair<D>> neighbors, Database<V> database)
runVarianceAnalysis
in class ProjectedDBSCANPreprocessor<D extends Distance<D>,V extends RealVector<V,?>>
id
- the given pointneighbors
- the neighbors as query results of the given pointdatabase
- the database for which the preprocessing is performedpublic List<String> setParameters(List<String> args) throws ParameterException
AbstractParameterizable
{ ListremainingParameters = super.setParameters(args); // set parameters for your class // for example like this: if(isSet(MY_PARAM_VALUE_PARAM)) { myParamValue = getParameterValue(MY_PARAM_VALUE_PARAM); } . . . return remainingParameters; // or in case of attributes requesting parameters themselves // return parameterizableAttribbute.setParameters(remainingParameters); }
setParameters
in interface Parameterizable
setParameters
in class ProjectedDBSCANPreprocessor<D extends Distance<D>,V extends RealVector<V,?>>
args
- parameters to set the attributes accordingly to
ParameterException
- in case of wrong parameter-settingpublic String shortDescription()
AbstractParameterizable
shortDescription
in interface Parameterizable
shortDescription
in class AbstractParameterizable
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |