GithubHelp home page GithubHelp logo

adriaj / pyfw-lasso Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 4.22 MB

Implementation of the Polyatomic Frank-Wolfe algorithm to solve the LASSO problem.

License: MIT License

Python 99.28% Shell 0.72%

pyfw-lasso's Introduction

pyfw-lasso

This python package provides two Frank-Wolfe algorithms to solve the LASSO problem

/doc/img/lasso.png

These algorithms are:

  • the Vanilla Frank-Wolfe algorithm,
  • the Polyatomic Frank-Wolfe algorithm.

Polyatomic Frank-Wolfe

The Polyatomic Frank-Wolfe algorithm has been proposed and described there: https://doi.org/10.1109/LSP.2022.3149377 (pre-print version available).

It is an optimization algorithm that builds upon the classical Frank-Wolfe algorithm by allowing to place multiple atoms at each iteration. This results is a significantly faster convergence. An additional approximate correction step is used in order to accelerate further more the solving time while preserving the accuracy of the solution.

Installation

Instructions are provided in the howtoinstall.txt file.

$ git clone [email protected]:AdriaJ/pyfw-lasso.git
$ cd pyfw-lasso
$ conda create --name pyfwl --strict-channel-priority --channel=conda-forge --file=conda/requirements.txt
$ conda activate pyfwl
$ pip install -e .
$ pytest

Citation

For citing this package, please refer to the Signal Processing Letters article: https://doi.org/10.1109/LSP.2022.3149377 .

@article{jarret2022,
    author={Jarret, Adrian and Fageot, Julien and Simeoni, Matthieu},
    journal={IEEE Signal Processing Letters},
    title={A Fast and Scalable Polyatomic Frank-Wolfe Algorithm for the LASSO},
    year={2022},
    volume={29},
    pages={637-641},
    doi={10.1109/LSP.2022.3149377}
}

pyfw-lasso's People

Contributors

adriaj avatar

Stargazers

 avatar  avatar

Watchers

 avatar

pyfw-lasso's Issues

Update log_var

No more "x" needed as a log var since the implementation of the sparse iterates.

Fully corrective step for Vanilla FW

Would be interesting to feature the fully corrective steps to Vanilla FW. It is probably possible to that using the reweighting function from Polyatomic FW.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.