K-means Clustering

Compile

$ g++ main.cpp -std=c++11

Run

$ ./a.out 1000 10 points1.dat points2.dat

Graph

$ gnuplot plotboth.dem

Plots done for random points

K-MEANS

Cluster 1

K-MEANS++

Cluster 2

LICENSE : MIT