|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.northwestern.at.utils.math.statistics.PrincipalComponents
public class PrincipalComponents
PrincipalComponents -- Calculate principal components of a data matrix.
| Field Summary | |
|---|---|
protected Matrix |
columnScores
Holds principal component scores for columns. |
protected Matrix |
correlation
Correlation matrix derived from data matrix. |
protected Matrix |
dataMatrix
Data matrix whose principal components are desired. |
protected Matrix |
eigenValues
Eigenvalues of correlation matrix. |
protected Matrix |
eigenVectors
Eigenvectors of correlation matrix. |
protected Matrix[] |
meansAndSDs
Holds means and standard deviations of variables. |
protected Matrix |
rowScores
Holds principal component scores for rows. |
protected Matrix |
sqrtEigenValues
Square root of eigenvalues. |
protected Matrix |
standardizedDataMatrix
Standardized data matrix. |
| Constructor Summary | |
|---|---|
PrincipalComponents(Matrix dataMatrix)
Compute principal components of an (n x m) data matrix. |
|
| Method Summary | |
|---|---|
Matrix |
getColumnScores()
|
Matrix |
getCorrelations()
|
Matrix |
getDataMatrix()
|
Matrix |
getMeans()
|
Matrix |
getRowScores()
|
Matrix |
getStandardDeviations()
|
Matrix |
getStandardizedDataMatrix()
|
Matrix |
getValues()
|
Matrix |
getVectors()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Matrix dataMatrix
protected Matrix standardizedDataMatrix
protected Matrix correlation
protected Matrix eigenVectors
protected Matrix eigenValues
protected Matrix sqrtEigenValues
protected Matrix[] meansAndSDs
protected Matrix rowScores
protected Matrix columnScores
| Constructor Detail |
|---|
public PrincipalComponents(Matrix dataMatrix)
dataMatrix - The data matrix. | Method Detail |
|---|
public Matrix getDataMatrix()
public Matrix getVectors()
public Matrix getValues()
public Matrix getMeans()
public Matrix getStandardDeviations()
public Matrix getCorrelations()
public Matrix getStandardizedDataMatrix()
public Matrix getColumnScores()
public Matrix getRowScores()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||