lundi 2 mars 2015

How to plot the output of scipy's k-means clustering with large number of clusters


Vote count:

0




My data is 2250 x 100. I would like to plot the output, like http://ift.tt/1wcrCOJ. However, the problem is that all the examples use only a small number of clusters, usually 2 or 3. How would you plot the output of kmeans in scipy if you wanted more clusters, like a 100.


Here's what I got:



#get the centroids
centroids,_ = kmeans(data,100)
idx,_ = vq(data,centroids)
#do some plotting here...


asked 1 min ago







How to plot the output of scipy's k-means clustering with large number of clusters

Aucun commentaire:

Enregistrer un commentaire