LaTeX
MathJax
Meta
Author:
Anonymous User
60
A set of data points A set of fitted parameters Randomly select k centroids for each data point do Calculate the distance to the nearest centroid Assign the data point to the centroid with the smallest distance for each centroid do Calculate the mean of the assigned data points Update the centroid with the calculated mean if centroids remain unchanged then Stop else Go back to step 1