aboutsummaryrefslogtreecommitdiff
path: root/source/testclusters.py
diff options
context:
space:
mode:
Diffstat (limited to 'source/testclusters.py')
-rw-r--r--source/testclusters.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/testclusters.py b/source/testclusters.py
index 6feabfc8..728e9c1b 100644
--- a/source/testclusters.py
+++ b/source/testclusters.py
@@ -10,7 +10,7 @@ blognames,words,data = clusters.readfile("blogdata1.txt")
coords = clusters.scaledown(data)
print "Generating clusters..."
-kclust = clusters.kcluster(data, k=K, distance=clusters.euclidian)
+kclust = clusters.kcluster(data, k=K, distance=clusters.pearson)
print
print "Clusters:"
for i in range(K):
bgstack15