Thank you so much! ]]>

This is so nice and help me a lot, just one comment and one question:

When setting the number of cluster: “num_clusters = len(set(cluster_labels))” I get one more cluster than they really are, and I always get a cluster with 0 elements. Looking in Scikit help I found this way: “num_clusters = len(set(cluster_labels)) – (1 if -1 in cluster_labels else 0)” and that solves the problem (also I was getting a cluster which was smaller than the minimum number of samples).

And my question is how can I plot all the points colored by its cluster, that would be very helpful but I don’t figure out how to do it.

Thanks a lot

]]>