VBsparsePCA
0.1.0The Variational Bayesian Method for Sparse PCA
Overview
Contains functions for a variational Bayesian method for sparse PCA proposed by Ning (2020) arXiv:2102.00305. There are two algorithms: the PX-CAVI algorithm (if assuming the loadings matrix is jointly row-sparse) and the batch PX-CAVI algorithm (if without this assumption). The outputs of the main function, VBsparsePCA(), include the mean and covariance of the loadings matrix, the score functions, the variable selection results, and the estimated variance of the random noise.
Install
Health
- NOTE r-devel-linux-x86_64-debian-clang
- NOTE r-devel-linux-x86_64-debian-gcc
- NOTE r-devel-linux-x86_64-fedora-clang
- NOTE r-devel-linux-x86_64-fedora-gcc
- NOTE2026-03-107 OK · 7 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Documentation
- Examples that run
- 100%
- Documented parameters
- not tracked
- Return-value docs
- not tracked
- References docs
- 25%
Downloads
Dependencies
Code & Tests
People & History
Author records are not tracked yet for this package.
1 release. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 0.1.0Latest2026-03-10 · current release
- RR 4.5.0 released · 2025-04-11
Package metadata
- First published
- 2021-02-12
- Total releases
- 1 / 5 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.6.0
- Download size
- 8.2 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet
Cite
Cite this package
Start here. This is the citation for the package itself.
citation("VBsparsePCA")CRAN DOI
https://doi.org/10.32614/CRAN.package.VBsparsePCAThis is the citation for the package. It is not a citation for the R Observatory.
Cite this page
Use this when the claim is about a measurement on this page.
BibTeX
@misc{robservatoryVBsparsePCA,
author = {Balamuta, James Joseph},
title = {{R} {Observatory}: Metrics for {VBsparsePCA} version 0.1.0},
year = {2026},
publisher = {HJJB, LLC},
url = {https://r-observatory.thecoatlessprofessor.com/packages/VBsparsePCA},
note = {Data set. Data release v2026-08-05}
}APA
Balamuta, J. J. (2026). R Observatory: Metrics for VBsparsePCA version 0.1.0 [Data set]. HJJB, LLC. Data release v2026-08-05. https://r-observatory.thecoatlessprofessor.com/packages/VBsparsePCARIS
TY - DATA
AU - Balamuta, James Joseph
TI - R Observatory: Metrics for VBsparsePCA version 0.1.0
PY - 2026
PB - HJJB, LLC
N1 - Data release v2026-08-05
UR - https://r-observatory.thecoatlessprofessor.com/packages/VBsparsePCA
ER - In prose
These package metrics were obtained from the R Observatory (Balamuta, 2026), data release v2026-08-05, https://r-observatory.thecoatlessprofessor.com/packages/VBsparsePCA.Bound to data release v2026-08-05, which is what makes the numbers on this page reproducible. See how to cite.