K-Means Clustering

Divide data into pre-defined K number of clusters, by minimizing the sum of squared distances of each record to their cluster means.

Steps:

  1. Start by randomly selecting K points, each of them being the initial centroid.
  2. Assign the remaining data, to the closest cluster, and update the cluster centroid (mean).
  3. Repeat this process until the cluster means don’t move.

https://machinelearningmedium.com/assets/2018-04-19-k-means-clustering/fig-1-clustering-animation.gif?raw=true

Algorithm is not guaranteed to find the best possible solution, and there’s no standard for finding the optimal K.

Interpreting the clusters mainly involve the sizes of the clusters and the means. We’re trying to see if the clusters will work on new data.