skIncrPartialPCA | R Documentation |
use basilisk discipline to perform partial (n_components) incremental (chunk.size) PCA with scikit.decomposition
skIncrPartialPCA(mat, n_components, chunk.size = 10)
mat |
a matrix |
n_components |
integer(1) number of PCs to compute |
chunk.size |
integer(1) number of rows to use each step |
A good source for capabilities and examples is at the sklearn doc site.
lk = skIncrPartialPCA(iris[,1:4], n_components=3L)
lk
head(getTransformed(lk))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.