Learn R Programming

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

glmnet (version 1.1-1)

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. The algorithm uses cyclical coordinate descent in a pathwise fashion, as described in the paper on the maintainer's website.

Copy Link

Version

Install

install.packages('glmnet')

Monthly Downloads

160,579

Version

1.1-1

License

GPL-2

Maintainer

Trevor Hastie

Last Published

August 22nd, 2023

Functions in glmnet (1.1-1)

print.glmnet

print a glmnet object
glmnet

fit an elasticnet model path
glmnet-internal

Internal glmnet functions
predict.glmnet

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

Elastic net model paths for some generalized linear models
plot.glmnet

plot coefficients from a "glmnet" object
cv.glmnet

Cross-validation for glmnet
plot.cv.glmnet

plot the cross-validation curve produced by cv.glmnet