
GLMNet
GLMNet.jl is a Julia wrapper for fitting Lasso and Elastic Net generalized linear models using glmnet.

About GLMNet
GLMNet.jl is a Julia wrapper around the Fortran code from glmnet for fitting Lasso and ElasticNet regularization paths for linear, logistic, multinomial, and Cox models using cyclic coordinate descent.
The glmnet function returns fits across lambda values, with intercepts in path.a0 and coefficients in path.betas as a CompressedPredictorMatrix. It provides predict for outputs along the path and glmnetcv for choosing lambda by cross-validation.
Key features
- Fit Lasso and ElasticNet paths for linear, logistic, multinomial, and Cox models
- Wrap glmnet Fortran code for use from Julia
- Store intercepts per lambda in path.a0
- Store coefficients in compressed path.betas matrix
- Predict outputs along regularization path with predict
- Select lambda by cross-validation with glmnetcv
- Supports linear, logistic, multinomial, and Cox models
- Includes glmnetcv for lambda selection by cross-validation
- Provides predict for outputs along the regularization path
GLMNet at a glance
- Category
- Development › Developer Tools
- Type
- Open-source project
- Pricing
- Not confirmed. Check the site
- Open source
- Not stated
- Language
- English
- Last checked
- Oct 5, 2026 · Online when checked
- Listed
- Oct 5, 2026
Guides for Developer Tools
GLMNet alternatives
Tools and sites you could use instead, ranked by how closely they match.
GLM.jl provides generalized linear models in Julia, with documentation and examples for the package.
liblinear-java provides a Java version of LIBLINEAR for linear classification and regression models.
TextAnalysis.jl is a Julia package for text and language data, with tools such as corpora, TF-IDF, and topic models.
GaussianMixtures.jl is a Julia package for working with Gaussian mixture models.
pytesseract is a Python wrapper for Google Tesseract that provides optical character recognition.
Jupytext lets users represent Jupyter notebooks as Markdown documents or Julia, Python, and R scripts.
Popular in Developer Tools
Well-known listings from the same topic.
GLMNet FAQ
How do I access fitted intercepts and coefficients?
How do I choose lambda?
How do I predict for new data?
Tell us and an editor will check it.
Claim the listing and suggest updates yourself. An editor checks every claim first.













