|
|
|||||||||||||||||||||
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.math.linearalgebra.pca.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 whether delta is an absolute or a relative value. |
private Flag |
ABSOLUTE_FLAG
"absolute" Flag |
static double |
DEFAULT_DELTA
The default value for delta. |
private double |
delta
Threshold for strong eigenpairs, can be absolute or relative. |
private DoubleParameter |
DELTA_PARAM
Parameter delta |
static OptionID |
EIGENPAIR_FILTER_ABSOLUTE
OptionID for ABSOLUTE_FLAG |
static OptionID |
EIGENPAIR_FILTER_DELTA
OptionID for DELTA_PARAM |
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 | |
---|---|
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 | |
---|---|
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. |
List<String> |
setParameters(List<String> args)
Calls the super method and sets additionally the values of the flag ABSOLUTE_FLAG and the parameter DELTA_PARAM . |
String |
shortDescription()
Returns a short description of the class. |
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 OptionID EIGENPAIR_FILTER_ABSOLUTE
ABSOLUTE_FLAG
public static final OptionID EIGENPAIR_FILTER_DELTA
DELTA_PARAM
private final Flag ABSOLUTE_FLAG
public static final double DEFAULT_DELTA
private final DoubleParameter DELTA_PARAM
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
public List<String> setParameters(List<String> args) throws ParameterException
ABSOLUTE_FLAG
and the parameter DELTA_PARAM
.
setParameters
in interface Parameterizable
setParameters
in class AbstractParameterizable
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 |