is a hyperparameter.

Unsupervised Machine Learning, partitioning dataset into groups.

  • Initialization: Select centroids randomly
  • Assign each point to the nearest centroid
  • Update: calculate a new centroid of each group
  • Iterate until convergence