K-means
\(k\):
2
3
4
5
Step 2a: recompute the means
Run to convergence
Restart (new random labels)
Reveal true species
the data — colors = current clusters, ✚ = the k means, dashes = “nearest mean” cells
the loss, after every half-step