koraykv/unsup — pull request #1 by jtbates (2013-01-23 22:01:54+00:00)
Title: kmeans - NaN Centroids

In the kmeans function if no sample is matched to a given centroid during an iteration then there is a divide by zero and the centroid becomes NaN (line 76)