Implementation of some clustering algorithms.
c
: Toggles visualization of clustering algorithm+
/-
: Use more or less cluster centroidsa
/A
: Use next/prev cluster algorithmn
/N
: Use next/prev image/distribution2
: Show 2d point distribution3
: Show images. Colors are interpreted as 3d points and clusteredr
: resample 2d distributionEsc
: Quit the program
- The generalized Lloyd Algorithm is taken from spencerkent, but I did not manage to get it running.
- The K-Means Clustering uses the scipy implementation.