@Title(value="Perecentage based Eigenpair filter") @Description(value="Normalizes all eigenpairs, consisting of eigenvalue e and eigenvector v such that* e = 1, where <,> is the standard dot product.") public class NormalizingEigenPairFilter extends Object implements EigenPairFilter
Modifier and Type | Field and Description |
---|---|
private static Logging |
logger
The logger for this class.
|
Constructor and Description |
---|
NormalizingEigenPairFilter()
Provides a new EigenPairFilter that normalizes all eigenvectors s.t.
|
Modifier and Type | Method and Description |
---|---|
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.
|
private void |
normalizeEigenPair(EigenPair eigenPair)
Normalizes an eigenpair consisting of eigenvector v and eigenvalue e s.t.
|
private static final Logging logger
public NormalizingEigenPairFilter()
public FilteredEigenPairs filter(SortedEigenPairs eigenPairs)
EigenPairFilter
filter
in interface EigenPairFilter
eigenPairs
- the eigenPairs (i.e. the eigenvectors andprivate void normalizeEigenPair(EigenPair eigenPair)
eigenPair
- the eigenpair to be normalized