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 and the Cox model. Two recent additions are the multiple-response Gaussian, and the grouped multinomial regression. The algorithm uses cyclical coordinate descent in a path-wise fashion, as described in the paper linked to via the URL below.

Tests Vignettes

Available Snapshots

This version of glmnet can be found in the following snapshots:

Dependencies

Imports/Depends/LinkingTo/Enhances (6)
  • R
  • foreach
  • shape
  • Rcpp
  • RcppEigen
  • Rcpp
  • Suggests (5)
  • knitr
  • lars
  • testthat
  • xfun
  • rmarkdown
  • Version History