Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

msPCA: An R Package for Sparse PCA with Multiple Components

About

We present msPCA: an open-source R package for sparse principal component analysis with multiple components. It implements an alternating maximization algorithm to generate a set of sparse loading vectors that collectively explain a large fraction of the variance in a dataset, while remaining non-redundant. The algorithm supports two definitions of non-redundancy: either orthogonality of the loading vectors or zero pairwise correlation between principal components (PCs). In the reported benchmarks, msPCA solves sparse PCA problems with thousands of features, achieving competitive runtimes while producing sparse components with controlled feasibility violations and a high fraction of variance explained.

Ryan Cory-Wright, Jean Pauphilet• 2026

Related benchmarks

TaskDatasetResultRank
Sparse Principal Component AnalysisBreast cancer gene expression dataset p = 500, n = 89, r = 3
Explained Variance Ratio (FVE)9.3
12
Sparse PCAmtcars p = 11, r = 3, k = 4 (full)
FVE82.9
12
Sparse Principal Component AnalysisPitprops
FVE80.1
12
Sparse Principal Component Analysisriboflavin dataset
FVE0.8
6
Showing 4 of 4 rows

Other info

Follow for update