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

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

Blog at WordPress.com.

Up ↑

%d bloggers like this: