k-means clustering – useful links

Easy to understand/explain toy data set, though one may not want to code this in c# from scratch, as the author feels.

https://msdn.microsoft.com/en-us/magazine/jj891054.aspx

some ready to use functions (on random data)

https://datasciencelab.wordpress.com/2013/12/12/clustering-with-k-means-in-python/

loading data from file

X = np.loadtxt(filename, delimiter=’t’,dtype=np.float64)

plotting using matplotlib

http://matplotlib.org/examples/shapes_and_collections/scatter_demo.html

choosing colors using itertools.

http://stackoverflow.com/a/12236808

another example on visualizing the clusters.

http://www.dummies.com/how-to/content/how-to-visualize-the-clusters-in-a-kmeans-unsuperv.html

Blog at WordPress.com.

Up ↑