|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.lmu.ifi.dbs.elki.math.linearalgebra.pca.PCAResult
public class PCAResult

Result class for Principal Component Analysis with some convenience methods
| Field Summary | |
|---|---|
private SortedEigenPairs |
eigenPairs
The eigenpairs in decreasing order. |
private double[] |
eigenvalues
The eigenvalues in decreasing order. |
private Matrix |
eigenvectors
The eigenvectors in decreasing order to their corresponding eigenvalues. |
| Constructor Summary | |
|---|---|
PCAResult(double[] eigenvalues,
Matrix eigenvectors,
SortedEigenPairs eigenPairs)
Build a PCA result object. |
|
PCAResult(SortedEigenPairs eigenPairs)
Build a PCA result from an existing set of EigenPairs. |
|
| Method Summary | |
|---|---|
SortedEigenPairs |
getEigenPairs()
Returns a copy of the eigenpairs of the object to which this PCA belongs to in decreasing order. |
double[] |
getEigenvalues()
Returns a copy of the eigenvalues of the object to which this PCA belongs to in decreasing order. |
Matrix |
getEigenvectors()
Returns a copy of the matrix of eigenvectors of the object to which this PCA belongs to. |
int |
length()
Returns the number of eigenvectors stored |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private SortedEigenPairs eigenPairs
private double[] eigenvalues
private Matrix eigenvectors
| Constructor Detail |
|---|
public PCAResult(double[] eigenvalues,
Matrix eigenvectors,
SortedEigenPairs eigenPairs)
eigenvalues - Eigenvalueseigenvectors - Eigenvector matrixeigenPairs - Eigenpairspublic PCAResult(SortedEigenPairs eigenPairs)
eigenPairs - existing eigenpairs| Method Detail |
|---|
public final Matrix getEigenvectors()
public final double[] getEigenvalues()
public final SortedEigenPairs getEigenPairs()
public final int length()
|
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||