K-means Clustering

Algorithm Steps:
  1. Initialize some number k of cluster centers, also called centroids
  2. For each data point in the dataset, assign it to the closest centroid
  3. Update centroid locations to the average of all assigned points
  4. Repeat until convergence