de.lmu.ifi.dbs.elki.math.linearalgebra.pca
Class NormalizingEigenPairFilter
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.NormalizingEigenPairFilter
- All Implemented Interfaces:
- EigenPairFilter, Parameterizable
public class NormalizingEigenPairFilter
- extends AbstractParameterizable
- implements EigenPairFilter
The NormalizingEigenPairFilter normalizes all eigenvectors s.t.
* eigenvalue = 1, where <,> is the standard dot product
- Author:
- Simon Paradies
Methods inherited from class de.lmu.ifi.dbs.elki.utilities.optionhandling.AbstractParameterizable |
addOption, addParameterizable, addParameterizable, checkGlobalParameterConstraints, collectOptions, getAttributeSettings, getParameters, rememberParametersExcept, removeOption, removeParameterizable, setParameters |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NormalizingEigenPairFilter
public NormalizingEigenPairFilter()
- Provides a new EigenPairFilter that normalizes all eigenvectors s.t.
eigenvalue * = 1, where <,> is the standard dot product
filter
public FilteredEigenPairs filter(SortedEigenPairs eigenPairs)
- Description copied from interface:
EigenPairFilter
- Filters the specified eigenpairs into strong and weak eigenpairs,
where strong eigenpairs having high variances
and weak eigenpairs having small variances.
- Specified by:
filter
in interface EigenPairFilter
- Parameters:
eigenPairs
- the eigenPairs (i.e. the eigenvectors and
- Returns:
- the filtered eigenpairs
normalizeEigenPair
private void normalizeEigenPair(EigenPair eigenPair)
- Normalizes an eigenpair consisting of eigenvector v and eigenvalue e s.t. * e = 1
- Parameters:
eigenPair
- the eigenpair to be normalized
shortDescription
public String shortDescription()
- Description copied from class:
AbstractParameterizable
- Returns a short description of the class.
- Specified by:
shortDescription
in interface Parameterizable
- Overrides:
shortDescription
in class AbstractParameterizable
- Returns:
- Description of the class