|
|
|||||||||||||||||||||
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.varianceanalysis.LimitEigenPairFilter
public class LimitEigenPairFilter
The LimitEigenPairFilter marks all eigenpairs having an (absolute) eigenvalue below the specified threshold (relative or absolute) as weak eigenpairs, the others are marked as strong eigenpairs.
Field Summary | |
---|---|
private boolean |
absolute
Indicates wether delta is an absolute or a relative value. |
static String |
ABSOLUTE_D
Description for flag abs. |
static String |
ABSOLUTE_F
Flag for marking parameter delta as an absolute value. |
static double |
DEFAULT_DELTA
The default value for delta. |
private double |
delta
Threshold for strong eigenpairs, can be absolute or relative. |
static String |
DELTA_D
Description for parameter delta. |
static String |
DELTA_P
Option string for parameter delta. |
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 | |
---|---|
LimitEigenPairFilter()
Provides a new EigenPairFilter that marks all eigenpairs having an (absolute) eigenvalue below the specified threshold (relative or absolute) as weak eigenpairs, the others are marked as strong eigenpairs. |
Method Summary | |
---|---|
String |
description()
Returns a description of the class and the required parameters. |
FilteredEigenPairs |
filter(SortedEigenPairs eigenPairs)
Filters the specified eigenpairs into strong and weak eigenpairs, where strong eigenpairs having high variances and weak eigenpairs having small variances. |
String[] |
setParameters(String[] args)
Sets the attributes of the class accordingly to the given parameters. |
Methods inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable |
---|
addOption, checkGlobalParameterConstraints, deleteOption, description, description, getAttributeSettings, 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, getAttributeSettings, getParameters, getPossibleOptions, inlineDescription |
Field Detail |
---|
public static final String ABSOLUTE_F
public static final String ABSOLUTE_D
public static final double DEFAULT_DELTA
public static final String DELTA_P
public static final String DELTA_D
private double delta
private boolean absolute
Constructor Detail |
---|
public LimitEigenPairFilter()
Method Detail |
---|
public FilteredEigenPairs filter(SortedEigenPairs eigenPairs)
EigenPairFilter
filter
in interface EigenPairFilter
eigenPairs
- the eigenPairs (i.e. the eigenvectors and
EigenPairFilter.filter(de.lmu.ifi.dbs.elki.math.linearalgebra.SortedEigenPairs)
public String[] setParameters(String[] args) throws ParameterException
Parameterizable
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 String description()
Parameterizable
description
in interface Parameterizable
description
in class AbstractParameterizable
Parameterizable.description()
|
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |