maciejgryka / clusterer

small c++ header for sequential k-means clustering

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sequential k-means clustering
maciej.gryka@gmail.com

** Feel free to use this code for any research/personal use. Please give me a
shout for anything else. **

Small header file implementing multidimensional data clustering using
sequential k-means. See

http://www.cs.princeton.edu/courses/archive/fall08/cos436/Duda/C/sk_means.htm

for explanation.

To test, first run the python script create_data.py. Then run main.cpp (make 
sure the paths to data files are corect). Once it's done (should be quick), run
plot_clusters.py for a 3D visualization of points (white) and cluster centers 
(red spheres).

requires numpy and Mayavi

About

small c++ header for sequential k-means clustering


Languages

Language:C++ 73.7%Language:Python 26.3%