Giter Site home page Giter Site logo

mscode's Introduction

MScode

This repository contains the mscode package.

It can be easily installed from this location by

pip install . -r requirements.txt

The full documentation is available under doc/build/html/index.html

It contains implementations of several algorithms to solve the Mixed Sparse Coding problem as described in "Dictionary-based low-rank approximation and the mixed sparse coding problem", Jeremy E. Cohen, 2021, arxiv link. Please cite this reference if you use this package. The exact version of the code used for the publication is commit 40dadb43742e4536fe719fbc91c691c3ae5e6148, tagged as version v0.0.

It also contains the numerical results of the Mixed Sparse Coding experiments from the above reference stored as pandas dataframes, figures plotted from these data, and the script to reproduce these results. To run these scripts, set the root to ./mscode/xp/ and run python xxx.py where xxx stands for the name of the script to run. These scripts will write their output to ./mscode/data/ so please change the relevant paths in the scripts to avoid overwritting existing results.

This repository also includes a copy of the prox-l1oo distributed at this repository: https://github.com/bbejar/prox-l1oo and which was developped in Bejar, Benjamin, Ivan Dokmanic, and Rene Vidal. "The fastest L1, oo prox in the west." IEEE transactions on pattern analysis and machine intelligence (2021).

Known issues

Currently, you need to modify the file prox_ind_l1_norm.py to add the path to libprox.so in your computer. Moreover, the python wrapper for this C code does not work apparently on Windows.

credits: J.E.Cohen, 2021

mscode's People

Contributors

cohenjer avatar

Watchers

 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.