A simple program with GUI to compute k-means
- pandas
- matplotlib
- numpy
- PIL
python kmeans.py
- background image has to be in the same folder as the kmeans.py script
- Enter number of clusters in textbox of the GUI and click "Compute K-means"
- kmeans.png [saved file of the figure]
- kmeans.txt [saved file which contains the output below]
- Time taken in seconds
- No. of Iterations
- Coordinates of Centroids
- Centroid ID for each points
credits to @mubaris https://github.com/mubaris/friendly-fortnight/blob/master/xclara.csv