glmnet: 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, Cox model, multiple-response Gaussian, and the grouped multinomial regression. There are two new and important additions. The family argument can be a GLM family object, which opens the door to any programmed family. This comes with a modest computational cost, so when the built-in families suffice, they should be used instead. The other novelty is the relax option, which refits each of the active sets in the path unpenalized. The algorithm uses cyclical coordinate descent in a path-wise fashion, as described in the papers listed in the URL below.

Version: 4.1-4
Depends: R (≥ 3.6.0), Matrix (≥ 1.0-6)
Imports: methods, utils, foreach, shape, survival, Rcpp
LinkingTo: RcppEigen, Rcpp
Suggests: knitr, lars, testthat, xfun, rmarkdown
Published: 2022-04-15
Author: Jerome Friedman [aut], Trevor Hastie [aut, cre], Rob Tibshirani [aut], Balasubramanian Narasimhan [aut], Kenneth Tay [aut], Noah Simon [aut], Junyang Qian [ctb], James Yang [aut]
Maintainer: Trevor Hastie <hastie at stanford.edu>
License: GPL-2
URL: https://glmnet.stanford.edu, https://dx.doi.org/10.18637/jss.v033.i01, https://dx.doi.org/10.18637/jss.v039.i05
NeedsCompilation: yes
SystemRequirements: C++14
Citation: glmnet citation info
Materials: README NEWS
In views: MachineLearning, Survival
CRAN checks: glmnet results

Documentation:

Reference manual: glmnet.pdf
Vignettes: Regularized Cox Regression
An Introduction to glmnet
The family Argument for glmnet
The Relaxed Lasso

Downloads:

Package source: glmnet_4.1-4.tar.gz
Windows binaries: r-devel: glmnet_4.1-4.zip, r-release: glmnet_4.1-4.zip, r-oldrel: glmnet_4.1-4.zip
macOS binaries: r-release (arm64): glmnet_4.1-4.tgz, r-oldrel (arm64): glmnet_4.1-4.tgz, r-release (x86_64): glmnet_4.1-4.tgz, r-oldrel (x86_64): glmnet_4.1-4.tgz
Old sources: glmnet archive

Reverse dependencies:

Reverse depends: adapt4pv, AHM, bapred, BioMark, CBPS, cpfa, ctmle, DTRlearn2, elasso, ensr, EstHer, gamlss.lasso, GlarmaVarSel, glmnetcr, glmSparseNet, glmvsd, Grace, GRridge, HiCfeat, HIMA, HSDiC, InvariantCausalPrediction, ipflasso, islasso, KLexp, Lavash, mcen, metagenomeSeq, MetGen, mmabig, MNS, mpath, MRFcov, MTPS, MultiVarSel, PAS, personalized, ProSGPV, prototest, qut, RLassoCox, roccv, selectiveInference, sharpPen, SIMMS, SPSP, tmle, trena, TSGSIS
Reverse imports: a4Base, a4Classif, a4Core, afthd, aglm, alookr, AMARETTO, amp, AnchorRegression, animalcules, ArCo, argo, armada, arulesCBA, ASICS, autostats, bastah, bbknnR, BBSSL, BeSS, bestglm, bgsmtr, BioMM, biospear, BloodCancerMultiOmics2017, BNrich, bolasso, BOSSreg, BrainCon, BWGS, c060, categoryEncodings, CausalKinetiX, causalweight, cbl, CenBAR, CERFIT, changepoints, cmenet, coca, coda4microbiome, ComICS, Compositional, CondCopulas, conformalInference.multi, ConformalSmallest, cornet, cpt, creditmodel, customizedTraining, CytoDx, DDL, DEET, DepInfeR, DevTreatRules, dipw, distillML, dlbayes, DLL, dmlalg, DMRnet, DMTL, dnr, doc2concrete, DWLasso, ecpc, enetLTS, EnMCB, ENMeval, EnsembleBase, EnsemblePenReg, ePCR, ER, eshrink, EventPointer, eventstream, expandFunctions, EZtune, FADA, fairml, fdm2id, FGLMtrunc, FindIt, FindIT2, finnts, FLAME, fmerPack, fssemR, fuser, gamlss.foreach, gamreg, gapclosing, GAprediction, GEInfo, gespeR, ggmix, glmnetSE, glmnetUtils, glmtrans, GMDH2, GMSimpute, gofar, goffda, graphicalVAR, gren, GWLelast, hal9001, HCTR, HDCI, hdi, hdm, hdme, hdnom, hierGWAS, hierinf, hit, HTLR, hybridEnsemble, ICBioMark, IFAA, inet, inters, IRCcheck, IsingFit, joinet, knockoff, kosel, l1spectral, LassoSIR, latentgraph, LEGIT, lilikoi, lime, LinearDetect, LKT, localModel, LPRelevance, LUCIDus, mase, maxnet, mcb, mdpeer, MEAT, MendelianRandomization, MESS, MetabolicSurv, metafuse, mgm, mikropml, milr, mimi, miRLAB, modnets, mombf, monaLisa, MPAgenomics, mplot, MRFA, msaenet, MSclassifR, MTE, mudfold, multid, multivar, MWRidge, NADIA, naivereg, natural, nbfar, NCutYX, nestedcv, netDx, netgsa, nethet, nnfor, nnGarrote, nonet, NonProbEst, nproc, obliqueRSF, OHPL, omicwas, oncoPredict, OOS, palasso, PathoStat, pathwayTMB, PDN, pencal, pengls, penppml, pgraph, phd, PheCAP, PheVis, PhylogeneticEM, Pi, plsmselect, PMAPscore, politeness, polywog, POMA, powerHaDeX, pre, predhy, predictoR, prioritylasso, PRISM.forecast, PRSPGx, QTL.gCIMapping, QTL.gCIMapping.GUI, quanteda.textmodels, RAEN, ramwas, rare, RaSEn, RCPmod, rdomains, regnet, regressoR, regsplice, regtools, relgam, rexposome, Rforestry, RISCA, RIVER, rminer, RNAseqNet, roben, RobMixReg, Robyn, RPtests, rqt, rrpack, RSDA, RTextTools, SAVER, SBICgraph, scAnnotate, SCFA, scGPS, sdafilter, SelectBoost, SEMgraph, SentimentAnalysis, sentometrics, sharp, SIAMCAT, Sieve, SIHR, SILM, simputation, sirus, SIS, SISIR, sivs, SLBDD, slimrec, SLOPE, SMLE, smurf, SOIL, sparsenetgls, sparsereg, sparsevar, sparsevb, spinBayes, SplitKnockoff, splitSelect, spm2, SPONGE, SPOT, sprintr, squant, squeezy, SSDL, stabiliser, StabilizedRegression, stacks, starnet, statVisual, stepPenal, STGS, stm, STOPES, StratifiedMedicine, sureLDA, SuRF.vs, SurvHiDim, survival.svb, TANDEM, TextForecast, tools4uplift, TraceAssist, traineR, TraRe, triplot, tsensembler, tsrobprep, TULIP, varEst, varycoef, wsprv, xcore, xLLiM, xrf, ZVCV
Reverse suggests: adaptMT, BAGofT, bamlss, bbl, bcaboot, biglasso, bigstatsr, BiodiversityR, BOSO, broom, caretEnsemble, casebase, catdata, CBDA, censored, ClassifyR, CMA, coefplot, CompareCausalNetworks, condvis2, cpi, cuda.ml, cvwrapr, cydar, decoupleR, DoubleML, DriveML, easyalluvial, eclust, ecostats, EHR, ensModelVis, familiar, FeatureHashing, flexmix, forecastML, FRESA.CAD, fscaret, gamlss.ggplots, GenericML, gesso, ggfortify, GWASinlps, heuristica, hydrorecipes, iml, imputeR, LDLcalc, live, LSAmitR, MachineShop, MatchIt, medflex, MetNet, MFSIS, mice, microbiomeMarker, mlr, mlr3learners, mlr3pipelines, mlr3tuningspaces, mlr3viz, modelplotr, modeltime, modeltime.ensemble, modeltime.resample, nlpred, nscancor, ordinalNet, origami, oscar, Patterns, philr, plotmo, pmml, projpred, pulsar, purgeR, quadrupen, r2pmml, rcellminer, regsem, RnBeads, s2net, sAIC, sense, sgd, sparsegl, SplitReg, sqlscore, stabs, STPGA, stratamatch, subsemble, SuperLearner, superMICE, superml, swag, TAPseq, TBSignatureProfiler, TensorTest2D, text, text2vec, tornado, tramnet, varbvs, vimp, vip, WeightedROC
Reverse enhances: prediction

Linking:

Please use the canonical form https://CRAN.R-project.org/package=glmnet to link to this page.