skIncrPartialPCA: use basilisk discipline to perform partial (n_components)...

Description Usage Arguments Note Examples

View source: R/skIPart.R

Description

use basilisk discipline to perform partial (n_components) incremental (chunk.size) PCA with scikit.decomposition

Usage

1
skIncrPartialPCA(mat, n_components, chunk.size = 10)

Arguments

mat

a matrix

n_components

integer(1) number of PCs to compute

chunk.size

integer(1) number of rows to use each step

Note

A good source for capabilities and examples is at the sklearn doc site.

Examples

1
2
3
lk = skIncrPartialPCA(iris[,1:4], n_components=3L)
lk
head(getTransformed(lk))

BiocSklearn documentation built on Nov. 8, 2020, 7:52 p.m.