org.apache.spark.mllib.feature.PCAModel
Serializable
, VectorTransformer
Model fitted by
PCA
that can project vectors to a low-dimensional space using PCA.
param: k number of principal components. param: pc a principal components Matrix. Each column is one principal component.
int
Transform a vector by computed Principal Components.
public int k()
transform
in interface VectorTransformer
vector
- vector to be transformed. Vector must be the same length as the source vectors given to PCA.fit()
.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4