Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

kohonen vector quantizers (SOM, NG, GNG)

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 lmj
Octocat-spinner-32 .gitignore
Octocat-spinner-32 MANIFEST.in
Octocat-spinner-32 README.md
Octocat-spinner-32 kohonen_test.py
Octocat-spinner-32 setup.py
README.md

py-kohonen

This module contains some basic implementations of Kohonen-style vector quantizers: Self-Organizing Map (SOM), Neural Gas, and Growing Neural Gas. Kohonen-style vector quantizers use some sort of explicitly specified topology to encourage good separation among prototype "neurons".

Vector quantizers are useful for learning discrete representations of a distribution over continuous space, based solely on samples drawn from the distribution. This process is also generally known as density estimation.

The source distribution includes an interactive test module that uses PyGTK and Cairo to render a set of quantizers that move around in real time as samples are drawn from a known distribution and fed to the quantizers. Run this test with :

python kohonen_test.py

Have fun !

Something went wrong with that request. Please try again.