Management & CommerceHardMBA placement (Analytics)

One-dimensional k-means is run on the values 2, 4, 10, 12, 20 with starting centroids 3 and 15. After one assignment-and-update step, what are the new centroids?

  1. A. 3 and 14
  2. B. 3 and 15
  3. C. 5.33 and 16
  4. D. 6 and 16

Correct answer: A. 3 and 14

10 is nearer to 15 (distance 5) than to 3 (distance 7), so clusters are {2, 4} and {10, 12, 20}, giving centroids 3 and 14. 5.33 and 16 wrongly put 10 with the low cluster.

More Operations, Supply Chain & Business Analytics questions

Exams that ask this topic