Abstract

We develop fast algorithms for estimation of generalized linear models with convex penalties. The models include linear regression, two-class logistic regression, and multinomial regression problems while the penalties include ℓ(1) (the lasso), ℓ(2) (ridge regression) and mixtures of the two (the elastic net). The algorithms use cyclical coordinate descent, computed along a regularization path. The methods can handle large problems and can also deal efficiently with sparse features. In comparative timings we find that the new algorithms are considerably faster than competing methods.

Highlights

  • The lasso [Tibshirani, 1996] is a popular method for regression that uses an 1 penalty to achieve a sparse solution

  • In this paper we extend the work of Friedman et al [2007] and develop fast algorithms for fitting generalized linear models with elastic-net penalties

  • We compared the speed of glmnet to the interior point method l1lognet proposed by Koh et al [2007], Bayesian Logistic Regression (BBR) due to Genkin et al [2007] and the Lasso Penalized Logistic (LPL) program supplied by Ken Lange [Wu and Lange, 2008b]

Read more

Summary

Introduction

The lasso [Tibshirani, 1996] is a popular method for regression that uses an 1 penalty to achieve a sparse solution. In this paper we extend the work of Friedman et al [2007] and develop fast algorithms for fitting generalized linear models with elastic-net penalties. We compute the simple least-squares coefficient on the partial residual, apply soft-thresholding to take care of the lasso contribution to the penalty, and apply a proportional shrinkage for the ridge penalty. This algorithm was suggested by Van der Kooij [2007]

Naive Updates
Covariance Updates
Sparse Updates
Weighted Updates
Pathwise Coordinate Descent
Other Details
Regularized Logistic Regression
Regularized Multinomial Regression
Regularization and Parameter Ambiguity
Grouped and Matrix Responses
Timings
Regression with the Lasso
Lasso-logistic regression
Real data
Findings
Discussion
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call