public class PCAFilteredResult extends PCAResult implements ProjectionResult
Modifier and Type | Field and Description |
---|---|
private Matrix |
adapatedStrongEigenvectors
The diagonal matrix of adapted strong eigenvalues: eigenvectors * e_czech.
|
private Matrix |
e_czech
The selection matrix of the strong eigenvectors.
|
private Matrix |
e_hat
The selection matrix of the weak eigenvectors.
|
private double |
explainedVariance
The amount of Variance explained by strong Eigenvalues
|
private Matrix |
m_czech
The dissimilarity matrix.
|
private Matrix |
m_hat
The similarity matrix.
|
private double[] |
strongEigenvalues
The strong eigenvalues.
|
private Matrix |
strongEigenvectors
The strong eigenvectors to their corresponding filtered eigenvalues.
|
private double[] |
weakEigenvalues
The weak eigenvalues.
|
private Matrix |
weakEigenvectors
The weak eigenvectors to their corresponding filtered eigenvalues.
|
Constructor and Description |
---|
PCAFilteredResult(SortedEigenPairs eigenPairs,
FilteredEigenPairs filteredEigenPairs,
double big,
double small)
Construct a result object for the filtered PCA result.
|
Modifier and Type | Method and Description |
---|---|
Matrix |
adapatedStrongEigenvectors()
Returns the adapted strong eigenvectors.
|
Matrix |
dissimilarityMatrix()
Returns the dissimilarity matrix (M_czech) of this LocalPCA.
|
int |
getCorrelationDimension()
Get correlation (subspace) dimensionality
|
double |
getExplainedVariance()
Returns explained variance
|
double[] |
getStrongEigenvalues()
Returns the strong eigenvalues of the object after passing the eigen pair
filter.
|
Matrix |
getStrongEigenvectors()
Returns the matrix of strong eigenvectors after passing the eigen pair
filter.
|
double[] |
getWeakEigenvalues()
Returns the weak eigenvalues of the object after passing the eigen pair
filter.
|
Matrix |
getWeakEigenvectors()
Returns the matrix of weak eigenvectors after passing the eigen pair
filter.
|
Matrix |
selectionMatrixOfStrongEigenvectors()
Returns the selection matrix of the strong eigenvectors (E_czech)
of this LocalPCA.
|
Matrix |
selectionMatrixOfWeakEigenvectors()
Returns the selection matrix of the weak eigenvectors (E_hat) of
the object to which this PCA belongs to.
|
Matrix |
similarityMatrix()
Returns the similarity matrix (M_hat) of this LocalPCA.
|
getEigenPairs, getEigenvalues, getEigenvectors, length
private double[] strongEigenvalues
private Matrix strongEigenvectors
private double[] weakEigenvalues
private Matrix weakEigenvectors
private double explainedVariance
private Matrix e_hat
private Matrix e_czech
private Matrix m_hat
private Matrix m_czech
private Matrix adapatedStrongEigenvectors
public PCAFilteredResult(SortedEigenPairs eigenPairs, FilteredEigenPairs filteredEigenPairs, double big, double small)
eigenPairs
- All EigenPairsfilteredEigenPairs
- filtered EigenPairsbig
- large value in selection matrixsmall
- small value in selection matrixpublic final Matrix getStrongEigenvectors()
public final double[] getStrongEigenvalues()
public final Matrix getWeakEigenvectors()
public final double[] getWeakEigenvalues()
public final int getCorrelationDimension()
getCorrelationDimension
in interface ProjectionResult
public double getExplainedVariance()
public Matrix selectionMatrixOfWeakEigenvectors()
public Matrix selectionMatrixOfStrongEigenvectors()
public Matrix similarityMatrix()
similarityMatrix
in interface ProjectionResult
public Matrix dissimilarityMatrix()
public Matrix adapatedStrongEigenvectors()