capnet: Contribution-Capped Elastic Net Regularization

Implements contribution-capped regularization to directly bound per-feature contributions in predictive models. Includes quasi-Newton optimization for unbounded fits and projected proximal gradient for finite coefficient bounds, as well as cross-validation, walk-forward fitting and prediction, and plotting utilities. References: Andrew and Gao (2007) <doi:10.1145/1273496.1273501>; Friedman et al. (2010) <doi:10.18637/jss.v033.i01>; James et al. (2020) <doi:10.1080/01621459.2019.1609970>; Nocedal (1980) <doi:10.1090/S0025-5718-1980-0572855-7>.

Version: 0.4.1
Depends: R (≥ 4.1)
Imports: rlang, lbfgs, ggplot2, xts, zoo, Matrix, stats, parallel
Suggests: knitr, rmarkdown, xtable, glmnet, testthat (≥ 3.0.0)
Published: 2026-11-18
DOI: 10.32614/CRAN.package.capnet (may not be active yet)
Author: Harry He [aut, cre, cph]
Maintainer: Harry He <zih028 at ucsd.edu>
BugReports: https://github.com/harryziyuhe/capnet/issues
License: GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]
Copyright: 2026 Harry He
URL: https://github.com/harryziyuhe/capnet
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: capnet results

Documentation:

Reference manual: capnet.html , capnet.pdf
Vignettes: capnet: Contribution-Capped Elastic Net Regularization (source, R code)

Downloads:

Package source: capnet_0.4.1.tar.gz
Windows binaries: r-devel: not available, r-release: not available, r-oldrel: not available
macOS binaries: r-release (arm64): not available, r-oldrel (arm64): not available, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=capnet to link to this page.