An Amazing Fast Way to Fit Elastic Net

Fit Elastic Net, Lasso, and Ridge regression and do cross-validation in a fast way. We build the algorithm based on Least Angle Regression by Bradley Efron, Trevor Hastie, Iain Johnstone, etc. (2004)() and some algorithms like Givens rotation and Forward/Back Substitution. In this way, many matrices to be computed are retained as triangular matrices which can eventually speed up the computation. The fitting algorithm for Elastic Net is written in C++ using Armadillo linear algebra library.


Reference manual

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


1.1.2 by Linyu Zuo, 3 years ago

Report a bug at

Browse source code at

Authors: Jingyi Ma [aut] , Qiuhong Lai [ctb] , Linyu Zuo [ctb, cre] , Yi Yang [ctb] , Meng Su [ctb] , Zhen Yu [ctb] , Gege Gao [ctb] , Xiao Liu [ctb] , Xueni Ruan [ctb] , Xinyuan Yang [ctb] , Yu Bai [ctb] , Zhijun Liao [ctb]

Documentation:   PDF Manual  

GPL (>= 2) license

Imports Rcpp

Suggests knitr, rmarkdown

Linking to Rcpp, RcppArmadillo

See at CRAN