K-means clustering of two-dimensional data

Beijing Institute of Technology | Ming-Jian Li

The following Python code is a companion code for the course on Artificial Intelligence and Simulation Science. It functions to cluster the data in dataset cluster.csv (click to download) using the k-means clustering method.

The result is as follows.