|
|
|||||||||||||||||||||
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.ProgressiveEigenPairFilter
public class ProgressiveEigenPairFilter
The ProgressiveEigenPairFilter sorts the eigenpairs in descending order of their eigenvalues and marks the first eigenpairs, whose sum of eigenvalues is higher than the given percentage of the sum of all eigenvalues as strong eigenpairs. In contrast to the PercentageEigenPairFilter, it will use a percentage which changes linearly with the subspace dimensionality. This makes the parameter more consistent for different dimensionalities and often gives better results when clusters of different dimensionality exist, since different percentage alpha levels might be appropriate for different dimensionalities.
Field Summary | |
---|---|
static double |
DEFAULT_PALPHA
The default value for alpha. |
static double |
DEFAULT_WALPHA
The default value for alpha. |
static OptionID |
EIGENPAIR_FILTER_PALPHA
OptionID for PALPHA_PARAM |
private double |
palpha
The threshold for strong eigenvectors: the strong eigenvectors explain a portion of at least alpha of the total variance. |
private DoubleParameter |
PALPHA_PARAM
Parameter progressive alpha. |
private double |
walpha
The noise tolerance level for weak eigenvectors |
private DoubleParameter |
WALPHA_PARAM
Parameter weak alpha. |
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 | |
---|---|
ProgressiveEigenPairFilter()
Provides a new EigenPairFilter that sorts the eigenpairs in descending order of their eigenvalues and marks the first eigenpairs, whose sum of eigenvalues is higher than the given percentage of the sum of all eigenvalues as string eigenpairs. |
Method Summary | |
---|---|
FilteredEigenPairs |
filter(SortedEigenPairs eigenPairs)
Filter eigenpairs. |
List<String> |
setParameters(List<String> args)
Set parameters |
String |
shortDescription()
Parameter description. |
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_PALPHA
PALPHA_PARAM
public static final double DEFAULT_PALPHA
private final DoubleParameter PALPHA_PARAM
private double palpha
public static final double DEFAULT_WALPHA
private final DoubleParameter WALPHA_PARAM
private double walpha
Constructor Detail |
---|
public ProgressiveEigenPairFilter()
Method Detail |
---|
public FilteredEigenPairs filter(SortedEigenPairs eigenPairs)
filter
in interface EigenPairFilter
eigenPairs
- the eigenPairs (i.e. the eigenvectors and
public String shortDescription()
shortDescription
in interface Parameterizable
shortDescription
in class AbstractParameterizable
public List<String> setParameters(List<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-setting
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |