Skip to content

Commit

Permalink
Fix typo in KMeans++ graphical example.
Browse files Browse the repository at this point in the history
  • Loading branch information
iglesias committed Jan 16, 2014
1 parent 3ee2a0b commit e0a2c6a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/undocumented/python_modular/graphical/cluster_kpp.py
Expand Up @@ -24,7 +24,7 @@
feat_train=RealFeatures(traindata)
distance=EuclideanDistance(feat_train,feat_train)

kmeans=Kmeans(k, distance, True)
kmeans=KMeans(k, distance, True)
kmeans.train()
centerspp=kmeans.get_cluster_centers()
radipp=kmeans.get_radiuses()
Expand All @@ -34,7 +34,7 @@
centers=kmeans.get_cluster_centers()
radi=kmeans.get_radiuses()

figure('KMeans with Kmeans++')
figure('KMeans with KMeans++')
clf()
plot(d1[0],d1[1],'rx')
plot(d2[0],d2[1],'bx',hold=True)
Expand Down

0 comments on commit e0a2c6a

Please sign in to comment.