Skip to content

meiji163/compress-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Show & Tell Compression Demo

In which I take you down the lossless compression rabbit hole 🐰

compression

I'll give a overview of one approach to compression based on Information Theory and explain a few compression algorithms, including Lempel-Ziv and PAQ. I'll also go over some recent compression algorithms based on deep neural networks.

Along the way I'll attempt to answer curious compression questions such as:

  • What is the smallest number of bytes you can compress a file to?
  • What does compression have to do with Machine Learning?
  • Why is there a 500,000€ prize to compress Wikipedia?
  • Does compression = AI ?

challenge for you ❔

You MLH fellow, you have quite the brain
You fixed all the bugs, and merged into main
You coded some tests (which took quite a while)
Now can you compress this 100kB file?

Submit in the comments number of bytes and how you did it (smallest wins 🥇 )

# example
$ curl https://raw.githubusercontent.com/meiji163/compress-demo/main/compressme.txt \
         | gzip > compressme.gz \
          && wc -c compressme.gz

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published