Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

safe-squeezing

This repository contains numerical procedure to compute antisparse representation with / without safe squeezing [1]. We elaborate on the notion of safe squeezing in

[1] Clément Elvira, Cédric Herzet: “Safe squeezing for antisparse coding”, arXiv, october 2019; arXiv:1911.07508

The above paper contains theoretical results and several applications that can be reproduced with this toolbox.

This python toolbox is currently under development and is hosted on Gitlab. If you encounter a bug or something unexpected please let me know by raising an issue on the project page.

Requirements

safe-squeezing works with python 3.5+.

Dependencies:

Install from sources

  1. Clone the repository
git clone https://gitlab.inria.fr/celvira/safe-squeezing.git
  1. Enter the folder
cd safe-squeezing
  1. (Optional) Create a virtual environment and activate it
virtualenv venv -p python3
source venv/bin/activate
  1. Install the dependencies
pip install -r requirements.txt
  1. And execute setup.py
pip install .

or

pip install -e .

if you want it editable.

Running the experiments

cd experiments/TSP2019
python exp.py
python vizu.py

or

python python vizu.py --save

if you want to save the plot.

Running the demo examples

cd notebook
jupyter notebook

Licence

This software is distributed under the CeCILL Free Software Licence Agreement

Cite this work

If you use this package for your own work, please consider citing it with this piece of BibTeX:

@article{Elvira2019arxiv,
	Author = {Elvira, Cl\'ement and Herzet, C\'edric},
	Journal = {Available at \url{http://people.rennes.inria.fr/Cedric.Herzet/Cedric.Herzet/Publications_files/Elvira2020a.pdf}},
	Month = {october},
	Pdf = {http://people.rennes.inria.fr/Cedric.Herzet/Cedric.Herzet/Publications_files/Elvira2020a.pdf},
	Title = {Safe squeezing for antisparse coding},
	Year = {2019},
}

About

No description, website, or topics provided.

Resources

License

Releases

No releases published

Packages

No packages published

Languages