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.
safe-squeezing works with python 3.5+.
Dependencies:
- Clone the repository
git clone https://gitlab.inria.fr/celvira/safe-squeezing.git
- Enter the folder
cd safe-squeezing
- (Optional) Create a virtual environment and activate it
virtualenv venv -p python3
source venv/bin/activate
- Install the dependencies
pip install -r requirements.txt
- And execute
setup.py
pip install .
or
pip install -e .
if you want it editable.
cd experiments/TSP2019
python exp.py
python vizu.py
or
python python vizu.py --save
if you want to save the plot.
cd notebook
jupyter notebook
This software is distributed under the CeCILL Free Software Licence Agreement
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},
}