Watch unlabeled points form clusters
K-means ignores the labels and repeatedly groups points around moving centers. The starting centers matter, especially when the data has an awkward shape.
Try this
- Choose a dataset and set the number of clusters.
- Place centers randomly or by clicking the graph.
- Step through assignment and center movement until they settle.
Starting centers
Use random centers or click the graph to place each starter center.
Algorithm steps
-
2Repeat until stable
Neutral label
Smile label
Surprised label
Cluster center
Assigned distance
Current step