Skip to content
forked from internaut/py-lbg

Python Implementation for Linde-Buzo-Gray / Generalized Lloyd Algorithm for vector quantization.

License

Notifications You must be signed in to change notification settings

Masstock/py-lbg

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Implementation for Linde-Buzo-Gray / Generalized Lloyd Algorithm

This is a small set of Python functions that implement the Generalized-Lloyd or Linde-Buzo-Gray Algorithm for vector quantization. It allows clustering of vectors of any dimension. This is helpful for example for image classification when using the SIFT or SURF algorithms where you can cluster the feature vectors. It might be also useful if you want to cluster a large amount of points on a map.

See also: http://mkonrad.net/projects/gen_lloyd.html

See also my original Java implementation.

The repository also contains an IPython notebook to visualize how this algorithm works.

The source-code is provided under Apache License 2.0.

About

Python Implementation for Linde-Buzo-Gray / Generalized Lloyd Algorithm for vector quantization.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 75.5%
  • Python 24.5%