|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.lmu.ifi.dbs.elki.math.linearalgebra.pca.PercentageEigenPairFilter
@Title(value="Percentage based Eigenpair filter") @Description(value="Sorts the eigenpairs in decending order of their eigenvalues and returns the first eigenpairs, whose sum of eigenvalues is higher than the given percentage of the sum of all eigenvalues.") public class PercentageEigenPairFilter
The PercentageEigenPairFilter 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.
Nested Class Summary | |
---|---|
static class |
PercentageEigenPairFilter.Parameterizer
Parameterization class. |
Field Summary | |
---|---|
private double |
alpha
The threshold for strong eigenvectors: the strong eigenvectors explain a portion of at least alpha of the total variance. |
static OptionID |
ALPHA_ID
The threshold for 'strong' eigenvectors: the 'strong' eigenvectors explain a portion of at least alpha of the total variance. |
static double |
DEFAULT_ALPHA
The default value for alpha. |
private static Logging |
logger
The logger for this class. |
Constructor Summary | |
---|---|
PercentageEigenPairFilter(double alpha)
Constructor. |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final Logging logger
public static final OptionID ALPHA_ID
Default value: DEFAULT_ALPHA
Key: -pca.filter.alpha
public static final double DEFAULT_ALPHA
private double alpha
Constructor Detail |
---|
public PercentageEigenPairFilter(double alpha)
alpha
- Method Detail |
---|
public FilteredEigenPairs filter(SortedEigenPairs eigenPairs)
EigenPairFilter
filter
in interface EigenPairFilter
eigenPairs
- the eigenPairs (i.e. the eigenvectors and
|
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |