Kmeans with simulated data
|
Initialize centroids by randomizing: points centroidspoints = randomly choose cluster for each point, then calculate centroids centroids = randomly choose k points to be centroids, then reassign points |
|
Initialize centroids by randomizing: points centroidspoints = randomly choose cluster for each point, then calculate centroids centroids = randomly choose k points to be centroids, then reassign points |