mlsanityData to 14 Oct 2026

spca: An R package to Compute Least Squares Sparse Principal Components

arXiv 2606.29104 ↗First posted 27 Jun 2026stat.CO stat.ME stat.MLcited by 0

Not on the map. Why?

Abstract (arXiv)

This paper introduces the R package spca, which provides a computational framework for least squares sparse principal component analysis (LS-SPCA). Unlike other SPCA methods, LS-SPCA generates uncorrelated sparse principal components (sPCs) that effectively maximize the explained variance while maintaining strong correlations with standard principal components (PCs). The framework also includes more computationally efficient variants that produce mildly correlated sPCs, which often have lower cardinality while explaining equal or greater variance than the LS-SPCA optimal sPCs. The spca package is built on an efficient C++ backend for matrix computations, with distinct engines for tall and fat matrices, and a flexible R frontend. The user interface offers several options for computing sPCs, such as deciding whether sparsification should stop when a threshold for cumulative variance explained or R2 with the PCs is reached, and choosing between simple forward selection, stepwise forward selection, or backward elimination for variable selection. In addition to the print(), summary(), and plot() methods, the package includes tools for comparing different "spca" solutions, grouping sparse loadings, and representing foreign SPCA solutions as "spca" objects. This article demonstrates with real datasets the use of the package in a typical LS-SPCA workflow and briefly contrasts LS-SPCA with conventional SPCA solutions . Then it compares different LS-SPCA solutions obtained from the dataset. Finally, the performance of spca on large tall and fat matrices is discussed, showing that spca offers a computationally efficient alternative for computing interpretable sPCs.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 4 of its 17 references that are in the map. First posted on arXiv 27 Jun 2026.

Builds on

4 of 17 references.

References · 4

  1. 2021abess: A Fast Best Subset Selection Library in Python and Rcited by 16
  2. 2016Projection Sparse Principal Component Analysis: an efficient least squares methodcited by 2
  3. 2019All Sparse PCA Models Are Wrong, But Some Are Useful. Part I: Computation of Scores, Residuals and Explained Variancecited by 2
  4. 2019SIMPCA: A framework for rotating and sparsifying principal componentscited by 1

Built on by

Not cited yet.