Visualizing K-Means Clustering Algorithm

machine_learning
datavisualization
k-meansclustering
data_science
clustering

#1

This website visualizes the two steps of k-means clustering :

  1. Assign : Assigning every point in the data to the cluster whose centroid is nearest to it.
  2. Optimize : Recalculating each centroid’s location as the mean (center) of all the points assigned to its cluster.
    This process is then iterated until the centroids stop moving, or equivalently until the points stop switching clusters.
    You can take a look at it here.

Danish


#2

Here’s another!


#3

Nice share @syed.danish
The guy Naftali Harris’s blog seems to have a lot of good content.