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

View source: R/skIPart.R

skIncrPartialPCAR Documentation

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

Description

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

Usage

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

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

vjcitn/BiocSklearn documentation built on Aug. 30, 2024, 2:13 p.m.