Learn R Programming

⚠️There's a newer version (4.1-8) of this package.Take me there.

glmnet (version 2.0-18)

Lasso and Elastic-Net Regularized Generalized Linear Models

Description

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.

Copy Link

Version

Install

install.packages('glmnet')

Monthly Downloads

106,977

Version

2.0-18

License

GPL-2

Maintainer

Trevor Hastie

Last Published

May 20th, 2019

Functions in glmnet (2.0-18)

glmnet

fit a GLM with lasso or elasticnet regularization
print.glmnet

print a glmnet object
cv.glmnet

Cross-validation for glmnet
deviance.glmnet

Extract the deviance from a glmnet object
plot.glmnet

plot coefficients from a "glmnet" object
glmnet.control

internal glmnet parameters
predict.cv.glmnet

make predictions from a "cv.glmnet" object.
glmnet-package

Elastic net model paths for some generalized linear models
glmnet-internal

Internal glmnet functions
plot.cv.glmnet

plot the cross-validation curve produced by cv.glmnet
beta_CVX

Simulated data for the glmnet vignette
predict.glmnet

make predictions from a "glmnet" object.