glmnet v1.8-4


Monthly downloads



by Trevor Hastie

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 multiresponse gaussian, and the grouped multinomial. The algorithm uses cyclical coordinate descent in a pathwise fashion, as described in the paper listed below.

Functions in glmnet

Name Description
glmnet fit a GLM with lasso or elasticnet regularization plot the cross-validation curve produced by cv.glmnet make predictions from a "cv.glmnet" object.
plot.glmnet plot coefficients from a "glmnet" object
deviance.glmnet Extract the deviance from a glmnet object
print.glmnet print a glmnet object
predict.glmnet make predictions from a "glmnet" object.
cv.glmnet Cross-validation for glmnet
glmnet-internal Internal glmnet functions
glmnet-package Elastic net model paths for some generalized linear models
No Results!

Last month downloads


Type Package
Date 2012-12-23
License GPL-2
Packaged 2012-12-27 21:47:57 UTC; hastie
Repository CRAN
Date/Publication 2012-12-27 23:11:07

Include our badge in your README