|
|
|||||||||||||||||||||
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.RelativeEigenPairFilter
public class RelativeEigenPairFilter
The RelativeEigenPairFilter sorts the eigenpairs in descending order of their eigenvalues and marks the first eigenpairs who are a certain factor above the average of the remaining eigenvalues. It is closely related to the WeakEigenPairFilter, and differs mostly by comparing to the remaining Eigenvalues, not to the total sum. There are some situations where one or the other is superior, especially when it comes to handling nested clusters and strong global correlations that are not too interesting. These benefits usually only make a difference at higher dimensionalities.
Field Summary | |
---|---|
static double |
DEFAULT_RALPHA
The default value for ralpha. |
static OptionID |
EIGENPAIR_FILTER_RALPHA
OptionID for RALPHA_PARAM |
private double |
ralpha
The noise tolerance level for weak eigenvectors |
private DoubleParameter |
RALPHA_PARAM
Parameter relative 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 | |
---|---|
RelativeEigenPairFilter()
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()
Get 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_RALPHA
RALPHA_PARAM
public static final double DEFAULT_RALPHA
private final DoubleParameter RALPHA_PARAM
private double ralpha
Constructor Detail |
---|
public RelativeEigenPairFilter()
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 |