Package: sparsepca 1.0.0

sparsepca: Sparse Principal Component Analysis

Fits principal components with sparse loading vectors for interpretable dimension reduction. Variable projection combines an orthogonal reconstruction factor with elastic net or cardinality regularization of the loadings. Deterministic, randomized, and robust algorithms support exploratory analysis of high-dimensional data; the randomized algorithm also supports sparse input matrices through implicit centering and scaling. A robust formulation separates entrywise outliers from the low-rank reconstruction. Regularization paths and approximate feature-count searches reuse matrix factorizations, and prediction applies the fitted transformation to new observations. The methods are described in Erichson et al. (2020) <doi:10.1137/18M1211350>.

Authors:N. Benjamin Erichson [aut, cre], Peng Zheng [aut], Sasha Aravkin [aut], Maria A. Sans-Fuentes [ctb]

sparsepca_1.0.0.tar.gz
sparsepca_1.0.0.zip(r-4.7-any)sparsepca_1.0.0.zip(r-4.6-any)sparsepca_1.0.0.zip(r-4.5-any)
sparsepca_1.0.0.tgz(r-4.6-any)sparsepca_1.0.0.tgz(r-4.5-any)
sparsepca_1.0.0.tar.gz(r-4.7-any)sparsepca_1.0.0.tar.gz(r-4.6-any)
sparsepca_1.0.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
sparsepca/json (API)

# Install 'sparsepca' in R:
install.packages('sparsepca', repos = c('https://erichson.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/erichson/spca/issues

On CRAN:

Conda:

dimension-reductiondimensionality-reductionpcaspca

8.59 score 72 stars 10 packages 110 scripts 2.8k downloads 3 mentions 5 exports 3 dependencies

Last updated from:507278030b. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK145
source / vignettesOK225
linux-releaseOK102
macos-releaseOK165
macos-oldrelOK91
windows-develOK55
windows-releaseOK95
windows-oldrelOK62
wasm-releaseOK74

Exports:robspcarspcaspcaspca_pathspca_target

Dependencies:latticeMatrixrsvd

Readme and manuals

Help Manual

Help pageTopics
Sparse principal component analysis via variable projectionsparsepca-package sparsepca
Predict sparse principal component scorespredict.robspca predict.rspca predict.spca
Robust sparse principal component analysisrobspca robspca.default
Randomized sparse principal component analysisrspca rspca.default
Sparse principal component analysisspca spca.default
Sparse PCA regularization pathsprint.spca_path spca_path
Sparse PCA with an approximate number of selected variablesprint.spca_target spca_target
Display and summarize sparse PCA fitsprint.robspca print.rspca print.spca spca-methods summary.robspca summary.rspca summary.spca