Hands on Algorithm of K-means

In the ICME machine learning workshop, the presenter talked about the algorithm of K-means to do the data clustering. It’s a simple and interesting algorithm. The following is a simple example, which generates the sample data, sets different K.