Simple Javascript implementation of the k-means algorithm, for node.js and the browser
tixz/kmeans.js