Giter VIP home page Giter VIP logo

deepsqueeze's Introduction

DeepSqueeze

In this repo I attempt to reproduce the compression utility described in DeepSqueeze: Deep Semantic Compression for Tabular Data by Amir Ilkhechi, Andrew Crotty, Alex Galakatos, Yicong Mao, Grace Fan, Xiran Shi, Ugur Cetintemel from Brown University.

Demo (with sound ๐Ÿ”‰)

deep_squeeze_demo.mp4

You can read the report.pdf for info about the original paper, my implementation, my additions and results.

There are 3 branches in this repo:

  • master, used in my demo presentation
  • experiment, mainly used to run experiments and producing results
  • mixture_of_experts, since I was not able to achieve better results using the Mixture of Experts architecture, I decided to keep it into a separate branch reducing code complexity of the master and demo branches

Running

I suggest running DeepSqueeze in the master branch which is cleaned-up following the steps below:

  1. Create a python environment. The DeepSqueeze package was developed in python3.8
  2. Install the requirements in requirements.txt
  3. Download one of the processed tables (no header, only numerical values).
  4. Compress the table with the command:

python compress.py -i path/to/input.csv -o path/to/output/dir/ -e <error_threshold_percentage>

Note that the -e parameter takes a value between [0, 100] with suggested values being: 0.5, 1, 5, 10.

5.Decompress the table with the command:

python decompress.py -i path/to/compressed_tables.zip

This is the full pipeline of DeepSqueeze with some simplification presented in report.pdf.

deepsqueeze's People

Contributors

mikexydas avatar

Stargazers

Mihail Stoian avatar Zeljko Lukic avatar Secant avatar  avatar Terence Liu avatar Christos Tsapelas avatar  avatar Yuwen Yang avatar Katerina Xagorari avatar Stavroula Iatropoulou avatar George Rouvalis avatar

Watchers

James Cloos avatar  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.