scalaglm.Pca
See thePca companion object
Principal components analysis
Computed using SVD of the centred data matrix rather than from the spectral decomposition of the covariance matrix. eg. More like the R function "prcomp" than the R function "princomp".
NOTE: .loadings are transposed relative to the PCA function in Breeze
Attributes
- colNames
Sequence of column names of mat
- mat
Data matrix with rows corresponding to observations and columns corresponding to variables
- Returns:
An object of type Pca with methods such as .loadings, .scores, .sdev and .summary
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any