K-means algorithm

One of the issues with the K-means algorithm is that if we choose initial centroids randomly, the clustering result may not be good. We discuss in the classthat we can avoid this by running the K-means multiple times and choose the result with the highest quality...