UP | HOME

k-means

1. algorithm

  • initialize cluster centers randomly
  • compute a point's cluster membership based on L2 distance from cluster centers
  • computer new cluster centers as the centroid of the cluster
  • iterate

Created: 2025-11-02 Sun 18:55