SparsePCA validation ledger#
Status: validated; implementation:
believe14.linear.SparsePCA.Authority: Zou, Hastie, and Tibshirani (2006), DOI 10.1198/106186006X113430.
Frozen objective:
||Xc-Xc B A^T||_F^2/(2n) + alpha*||B||_1 + ridge_alpha*||B||_F^2/2, subject toA^T A=I. This scaling defines the public penalty parameters.Updates: each column of
Bis solved by cyclic elastic-net coordinate descent;Ais the exact orthogonal Procrustes solution from the SVD ofXc^T Xc B/n.Following Algorithm 1 step 5, public sparse loading
jisB_j / ||B_j||. Raw penalized coefficients remain inraw_components_, and the reconstruction map absorbs their norms so it still representsXc B A^T.Initialization: centered PCA by default or a local seeded random orthobasis. Both outer and coordinate stopping conditions must pass for convergence.
Transform:
(X-mean)B.Ais retained separately asreconstruction_components_; no inverse API is claimed.Evidence: declared reconstruction identity, unit loading norms, sparsity, monotone objective, KKT residual, zero-variance handling, seeded behavior, and forced non-convergence tests. Compare reconstructed matrices, objectives, and supports rather than signed columns.
Complexity:
O(np^2 + p^3 + T(Ckp^2 + npk + pk^2))time andO(np + p^2 + T)peak memory; symbols follow the method catalog. Rdimtools is not an oracle.