Crandore Hub

VBsparsePCA

The Variational Bayesian Method for Sparse PCA

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.

Versions across snapshots

VersionRepositoryFileSize
0.1.0 rolling linux/jammy R-4.5 VBsparsePCA_0.1.0.tar.gz 49.9 KiB
0.1.0 rolling linux/noble R-4.5 VBsparsePCA_0.1.0.tar.gz 49.9 KiB
0.1.0 rolling source/ R- VBsparsePCA_0.1.0.tar.gz 8.2 KiB
0.1.0 latest linux/jammy R-4.5 VBsparsePCA_0.1.0.tar.gz 49.9 KiB
0.1.0 latest linux/noble R-4.5 VBsparsePCA_0.1.0.tar.gz 49.9 KiB
0.1.0 latest source/ R- VBsparsePCA_0.1.0.tar.gz 8.2 KiB
0.1.0 2026-04-26 source/ R- VBsparsePCA_0.1.0.tar.gz 8.2 KiB
0.1.0 2026-04-23 source/ R- VBsparsePCA_0.1.0.tar.gz 8.2 KiB
0.1.0 2026-04-09 windows/windows R-4.5 VBsparsePCA_0.1.0.zip 52.6 KiB
0.1.0 2025-04-20 source/ R- VBsparsePCA_0.1.0.tar.gz 8.2 KiB

Dependencies (latest)

Imports