Fast solver for the Lasso
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
examples MRG: from beta to w (#32) Jul 19, 2018
.gitignore Add positive Lasso solvers (#51) Sep 21, 2018
.travis.yml [MRG] Make coverage great again (#21) Apr 30, 2018
LICENSE fix travis? Feb 26, 2018
README.rst Update bibtex Jul 24, 2018
codecov.yml codecov Feb 26, 2018
environment.yml Replacing nosetests with pytest (#13) Apr 30, 2018
setup.cfg codecov Feb 27, 2018 markdown to rst (#23) May 11, 2018



image0 image1

Fast algorithm to solve the Lasso with dual extrapolation


Please visit for the latest version of the documentation.

Install the released version

Assuming you have a working Python environment, e.g. with Anaconda you can install celer with pip.

From a console or terminal install celer with pip:

pip install -U celer

To setup a fully functional environment we recommend you download this conda environment and install it with:

conda env create --file environment.yml

Install the development version

From a console or terminal clone the repository and install CELER:

git clone
cd celer/
conda env create --file environment.yml
source activate celer-env
pip install --no-deps -e .

Demos & Examples

You find on the documentation examples on the Leukemia dataset (comparison with scikit-learn) and on the Finance/log1p dataset (more significant, but it takes times to download the data, preprocess it, and compute the path).


All dependencies are in ./environment.yml


If you use this code, please cite:

  title =    {Celer: a Fast Solver for the Lasso with Dual Extrapolation},
  author =   {Massias, Mathurin and Gramfort, Alexandre and Salmon, Joseph},
  booktitle =        {Proceedings of the 35th International Conference on Machine Learning},
  pages =    {3321--3330},
  year =     {2018},
  volume =   {80},

ArXiv link: