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.3.tar.gz (20.8 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: celer-0.3.tar.gz
  • Upload date:
  • Size: 20.8 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.6

File hashes

Hashes for celer-0.3.tar.gz
Algorithm Hash digest
SHA256 f481073de030aee769e6be60748f82384498ec358d9d82d743a1266d8f796df4
MD5 bfb434e2e591b5cf25bf7f9030f3f784
BLAKE2b-256 6013b3718aa7ee74d81f9d68a2e2f5f93aad547af4a30b0667a63042def16ccd

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