Skip to content

An implementation of the gzip algo, with the aim of explaining how it can be used as a text classifier.

Notifications You must be signed in to change notification settings

BasedLukas/zip_classification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gzip implementation

This project is a simplified implementation of the gzip compression algorithm. The code here is used in my blogpost, which can be found here.

Run main.py in order to test the algorithm and view the output at various stages of compression.

The gzip_classification.py file makes use of gzip as a text classifier. I explain how this is possible in the blog post. It is based on a paper entitled "Less is More: Parameter-Free Text Classification with Gzip".

About

An implementation of the gzip algo, with the aim of explaining how it can be used as a text classifier.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages