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.


some ready to use functions (on random data)


loading data from file

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

plotting using matplotlib


choosing colors using itertools.


another example on visualizing the clusters.


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: