$ ./guess_the_languageAI & ML
AI & ML · hard · #15

After one assignment step and one update step, where is C1?

k-means, k=2
C1 = (0, 0)   C2 = (6, 6)
points: (1,0) (2,2) (0,1) (5,6) (7,6)
  1. (1, 1)
  2. (0, 0)
  3. (2, 2)
  4. (1.5, 1.5)
(1,0), (2,2) and (0,1) are closer to C1; their mean is (1, 1).
Play AI & ML ▸