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.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


2.0-12 by Trevor Hastie, 6 days ago

Browse source code at

Authors: Jerome Friedman [aut, cre], Trevor Hastie [aut, cre], Noah Simon [aut, ctb], Junyang Qian [ctb], Rob Tibshirani [aut, cre]

Documentation:   PDF Manual  

Task views: Machine Learning & Statistical Learning, Survival Analysis

GPL-2 license

Imports methods

Depends on Matrix, utils, foreach

Suggests survival, knitr, lars

Imported by ArCo, BAYESDEF, BeSS, Causata, ComICS, CorReg, CovSelHigh, DMRnet, DWLasso, EnsembleBase, EnsemblePenReg, FADA, FindIt, GWLelast, HDCI, HiCblock, HiCglmi, IsingFit, LPR, MESS, MPAgenomics, MRFA, MWRidge, OHPL, PhylogeneticEM, RCPmod, RNAseqNet, RPtests, RSDA, RTextTools, SIS, SISIR, SentimentAnalysis, SubgrpID, SurvRank, TANDEM, XMRF, anoint, aurelius, bastah, bestglm, biospear, blkbox, c060, cocoreg, customizedTraining, easyml, elasticIsing, eshrink, expandFunctions, fuser, gamreg, gencve, glmnetUtils, graphicalVAR, hdi, hdm, hdnom, hit, hybridEnsemble, imputeR, iqspr, kernDeepStackNet, knockoff, lime, lmmen, mRchmadness, maxnet, mdpeer, metafuse, mgm, milr, mpath, mplot, msaenet, msr, nproc, pact, parboost, partialCI, pgraph, polywog, pre, prioritylasso, rarhsmm, rdomains, regnet, rminer, rolypoly, rrpack, rsig, slimrec, sparsereg, sparsevar, stepPenal, stm, tsensembler.

Depended on by AdapEnetClass, BigTSP, BioMark, CAM, DTRlearn, DivMelt, EstHer, Grace, HiCfeat, InvariantCausalPrediction, MMMS, MMS, MNS, MultiVarSel, PAS, PRIMsrc, RVtests, SIMMS, SOIL, SparseLearner, SubLasso, TSGSIS, bapred, cosso, covTest, elasso, fcd, glmnetcr, glmvsd, hdlm, ipflasso, lassoscore, mht, netgsa, parcor, personalized, prototest, qut, refund.wave, regsel, relaxnet, roccv, selectiveInference, sparsenet, widenet.

Suggested by BiodiversityR, CompareCausalNetworks, EBglmnet, FRESA.CAD, FeatureHashing, LSAmitR, MFKnockoffs, ModelGood, NAM, RLT, SPreFuGED, STPGA, SuperLearner, WeightedROC, bWGR, bigstatsr, broom, caretEnsemble, catdata, ck37r, eclust, emil, fbRanks, flexmix, fscaret, ggfortify, heuristica, medflex, mlr, nscancor, ordinalNet, plotmo, pmml, pulsar, randomForestSRC, regsem, sAIC, simputation, simulator, sqlscore, stabs, subsemble, text2vec, varbvs.

Enhanced by coefplot.

See at CRAN