Comparing version 0.1.1 to 0.1.2
{ | ||
"name": "kmeans-js", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "Simple Javascript implementation of the k-means algorithm, for node.js and the browser", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -22,5 +22,5 @@ Simple Javascript implementation of the k-means algorithm, for node.js and the browser | ||
console.log(km.centroids, km.clusters); | ||
console.log(km.centroids); | ||
if(km.hasConverged) break; | ||
if(km.hasConverged()) break; | ||
} | ||
@@ -27,0 +27,0 @@ |
Sorry, the diff of this file is not supported yet
681055