The same points can be assigned differently when the starting centroids change. This lesson compares two chosen starts and one exact update from each.
highlighted = computed this step
Start A
Use the same one-dimensional points: 0, 2, 8, and 10. Start A uses centroids 0 and 10, so points 0 and 2 go to c1, while 8 and 10 go to c2.
Start A: c1=0,c2=10⇒[c1,c1,c2,c2]
Start B
Start B uses centroids 0 and 2 on the same points. Now point 0 goes to c1, while 2, 8, and 10 go to c2.
Start B: c1=0,c2=2⇒[c1,c2,c2,c2]
Compare one step
Start A updates to centroids 1 and 9. Start B updates to centroids 0 and 20/3. Same points, different starting centroids, different one-step clusters and new centroids. This is one deterministic step from chosen starts, not a guarantee about convergence or the best clustering.