Skip to main content

Fast algorithm with dual extrapolation for the Lasso

Project description

celer

image0 image1

Fast algorithm to solve the Lasso with dual extrapolation

Documentation

Please visit https://mathurinm.github.io/celer/ 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 https://github.com/mathurinm/celer.git
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).

Dependencies

All dependencies are in ./environment.yml

Cite

If you use this code, please cite:

@InProceedings{pmlr-v80-massias18a,
  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: https://arxiv.org/abs/1802.07481

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

celer-0.4.tar.gz (20.9 kB view details)

Uploaded Source

File details

Details for the file celer-0.4.tar.gz.

File metadata

  • Download URL: celer-0.4.tar.gz
  • Upload date:
  • Size: 20.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.4.0 requests-toolbelt/0.8.0 tqdm/4.26.0 CPython/3.6.7

File hashes

Hashes for celer-0.4.tar.gz
Algorithm Hash digest
SHA256 91c6bbe3b611118e150d3cc2448b80521a7bb4b93b903c3e0972c59d1f2ed3ea
MD5 07973437cbe9a4404ba8dc12fd3ba2d1
BLAKE2b-256 893473b26d2f04199d67133b522a9a9bc5399ee4e9b1782bab5db562fbbcf02c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page