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:
Downloads:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=capnet
to link to this page.