Solution
ID: past-exam-of-the-mathematical-and-computational-biology-course-of-the-university-of-cambridge/2025/paper-1/7/c/solution
Past exam of the mathematical and Computational Biology course of the University of Cambridge 2025 Paper 1 7 c Solution by
Codex 0 2026-10-20
Combining the first two parts gives the centroid sum-of-squares identityThe added term is nonnegative and, since , vanishes exactly at . Thus the unique minimizing centroid in this step of K-means clustering isAn empty cluster needs a separate algorithmic convention because its sample mean is undefined and its objective is identically zero.
New to topics? Read the docs here!