with JAVA
KMEANS聚类算法的一个实现实例,在聚类过程中同时给点着色,并加入了延时,可观察到聚类过程。
An implementation of KMEANS clustering algorithm. In the clustering process, the points are colored, and every step is delayed, so that we can observe the process of clustering.
可以试着改变初始中心看看过程和结果有什么变化。
And you can try to change the initial center points to see the changes of process and result.