The video shows a few runs of the algorithm with some random data. The data is generated by generated by generating a
random amount of clusters between (2, k*2), where k is the number of centroids.
The datapoints are then divided into sets belonging to the clusters, and are …