Skip to content

Commit

Permalink
Fix evaluation_clustering error.
Browse files Browse the repository at this point in the history
  • Loading branch information
pluskid committed May 23, 2012
1 parent 2c0ea33 commit 1983da0
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -49,7 +49,7 @@ def assign_labels(data, centroids):
from shogun.Classifier import KNN
from numpy import arange

labels = MulticlassLabels(arange(0.,11.))
labels = MulticlassLabels(arange(0.,10.))
fea = RealFeatures(data)
fea_centroids = RealFeatures(centroids)
distance = EuclidianDistance(fea_centroids, fea_centroids)
Expand Down

0 comments on commit 1983da0

Please sign in to comment.