Coder Social home page Coder Social logo

sparse_recovery's Introduction

sparse_recovery

This module provides solvers and utility functions for several problems in sparse recovery/compressed sensing. The file solvers.py, which depends only on NumPy/SciPy and can be used with Python 2 or 3, provides methods to compute the following:

  • Basis Pursuit (BP), including Nonnegative BP (BP+); the BP solver is ported from the l1-MAGIC MATLAB package [1]; the BP+ solver is based on the same primal-dual interior point method [2].
  • Orthogonal Matching Pursuit (OMP), including Nonnegative OMP (OMP+).
  • Supporting Hyperplane Property (SHP), a property that guarantees recovery of a signal x from linear measurements Ax via BP+ [3].

The feature retrieval files (retrieval.py, word_embeddings.py) additionally require scikit-learn and text_embedding. These files are used by scripts in the directory scripts-AKSV2018 to recreate the results in [3].

If you find this code useful please cite the following:

@inproceedings{arora2018sensing,
  title={A Compressed Sensing View of Unsupervised Text Embeddings, Bag-of-n-Grams, and LSTMs},
  author={Arora, Sanjeev and Khodak, Mikhail and Saunshi, Nikunj and Vodrahalli, Kiran},
  booktitle={Proceedings of the 6th International Conference on Learning Representations (ICLR)},
  year={2018}
}

References:

[1] Candès & Romberg, "l1-MAGIC: Recovery of Sparse Signals via Convex Programming," Technical Report, 2005.

[2] Boyd & Vandenberghe, "Chapter 11: Interior-point Methods," Convex Optimization, 2004.

[3] Arora et al., "A Compressed Sensing View of Unsupervised Text Embedding, Bag-of-n-Grams, and LSTMS," ICLR, 2018.

sparse_recovery's People

Contributors

mkhodak avatar

Stargazers

 avatar Elvis avatar EnanaAwa avatar 姬忠鹏 avatar Mohamad  Fazeli avatar  avatar  avatar Jirayu Peetakul avatar Pavel Gostev avatar DDDU avatar Ramsey avatar Vikas Raunak avatar Krishna Khairnar avatar Xie Lixiang avatar Konstantin Chernyshev avatar Congzheng Song avatar Dinesh Kumar Amara avatar  avatar Mustafa Keskin avatar Daniel Mahler avatar Liang Xiao avatar  avatar Morino Pan avatar  avatar  avatar Kyoungrok Jang avatar  avatar  avatar Evan Davis avatar Jakub Bartczuk avatar  avatar Houye avatar Changling Zhou avatar normanj avatar Mathieu Morey avatar Tl Yim avatar

Watchers

James Cloos avatar Nikunj Saunshi avatar Evan Davis avatar Shreeram avatar  avatar paper2code - bot avatar

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.