Package: glmnet 5.0
glmnet: Lasso and Elastic-Net Regularized Generalized Linear Models
Extremely efficient procedures for fitting the entire lasso or elastic-net regularization path for linear regression, logistic and multinomial regression models, Poisson regression, Cox model, multiple-response Gaussian, and the grouped multinomial regression; see <doi:10.18637/jss.v033.i01> and <doi:10.18637/jss.v039.i05>. There are two new and important additions. The family argument can be a GLM family object, which opens the door to any programmed family (<doi:10.18637/jss.v106.i01>). This comes with a modest computational cost, so when the built-in families suffice, they should be used instead. The other novelty is the relax option, which refits each of the active sets in the path unpenalized. The algorithm uses cyclical coordinate descent in a path-wise fashion, as described in the papers cited.
Authors:
glmnet_5.0.tar.gz
glmnet_5.0.zip(r-4.7)glmnet_5.0.zip(r-4.6)glmnet_5.0.zip(r-4.5)
glmnet_5.0.tgz(r-4.6-x86_64)glmnet_5.0.tgz(r-4.6-arm64)glmnet_5.0.tgz(r-4.5-x86_64)glmnet_5.0.tgz(r-4.5-arm64)
glmnet_5.0.tar.gz(r-4.7-arm64)glmnet_5.0.tar.gz(r-4.7-x86_64)glmnet_5.0.tar.gz(r-4.6-arm64)glmnet_5.0.tar.gz(r-4.6-x86_64)
glmnet_5.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
glmnet/json (API)
NEWS
| # Install 'glmnet' in R: |
| install.packages('glmnet', repos = c('https://trevorhastie.r-universe.dev', 'https://cloud.r-project.org')) |
- beta_CVX - Simulated data for the glmnet vignette
- BinomialExample - Synthetic dataset with binary response
- CoxExample - Synthetic dataset with right-censored survival response
- MultiGaussianExample - Synthetic dataset with multiple Gaussian responses
- MultinomialExample - Synthetic dataset with multinomial response
- PoissonExample - Synthetic dataset with count response
- QuickStartExample - Synthetic dataset with Gaussian response
- SparseExample - Synthetic dataset with sparse design matrix
This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.
Last updated from:51f61a9819. Checks:10 WARNING, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | WARNING | 236 | ||
| linux-devel-x86_64 | WARNING | 207 | ||
| source / vignettes | OK | 281 | ||
| linux-release-arm64 | WARNING | 194 | ||
| linux-release-x86_64 | WARNING | 232 | ||
| macos-release-arm64 | WARNING | 246 | ||
| macos-release-x86_64 | WARNING | 542 | ||
| macos-oldrel-x86_64 | WARNING | 333 | ||
| windows-devel | WARNING | 245 | ||
| windows-release | WARNING | 235 | ||
| windows-oldrel | WARNING | 235 | ||
| wasm-release | OK | 164 |
Exports:assess.glmnetbigGlmbuildPredmatCindexcoef.glmnetcoef.relaxedconfusion.glmnetcoxgradcoxnet.deviancecv.glmnetglmnetglmnet.controlglmnet.measuresmakeXna_sparse_fixna.replacepredict.glmnetpredict.relaxedprepareXprint.cv.glmnetrelax.glmnetrmultroc.glmnetstratifySurv
Dependencies:codetoolsforeachiteratorslatticeMatrixRcppRcppEigenshapesurvival
A History of glmnet
Rendered fromglmnet-history.Rmdusingknitr::rmarkdownon Jun 03 2026.Last update: 2026-05-04
Started: 2026-05-04
An Introduction to glmnet
Rendered fromglmnet.Rmdusingknitr::rmarkdownon Jun 03 2026.Last update: 2025-06-02
Started: 2019-11-09
Some notes on the score and Hessian of weighted Cox's proportional hazards with ties
Rendered fromcoxdev.Rmdusingknitr::rmarkdownon Jun 03 2026.Last update: 2026-05-04
Started: 2026-05-04
Regularized Cox Regression
Rendered fromCoxnet.Rmdusingknitr::rmarkdownon Jun 03 2026.Last update: 2026-05-04
Started: 2019-11-09
The family Argument for glmnet
Rendered fromglmnetFamily.Rmdusingknitr::rmarkdownon Jun 03 2026.Last update: 2021-01-11
Started: 2020-05-14
The Relaxed Lasso
Rendered fromrelax.Rmdusingknitr::rmarkdownon Jun 03 2026.Last update: 2021-06-24
Started: 2019-11-09
