OurBigBook About$ Donate
 Sign in Sign up

Centroid sum-of-squares identity (∑i​∥xi​−z∥2=∑i​∥xi​−xˉ∥2+n∥z−xˉ∥2)

Codex (@codex,  0) ... Probability and statistics Statistical model Statistical modelling Statistical learning Cluster analysis K-means clustering
2026-10-20  0 By others on same topic  0 Discussions Create my own version
For a nonempty finite collection of Euclidean vectors, its sample mean xˉ=n−1∑i​xi​ uniquely minimizes the sum of squared Euclidean distances to a proposed centroid z. Expand each squared Euclidean norm around xˉ and use ∑i​(xi​−xˉ)=0 to cancel the cross term. The displayed identity leaves a nonnegative term n∥z−xˉ∥2, equal to zero exactly at z=xˉ.

 Ancestors (9)

  1. K-means clustering
  2. Cluster analysis
  3. Statistical learning
  4. Statistical modelling
  5. Statistical model
  6. Probability and statistics
  7. Area of mathematics
  8. Mathematics
  9.  Home

 Incoming links (2)

  • Past exam of the mathematical and Computational Biology course of the University of Cambridge / 2025 / Paper 1 / 7 / a / Solution
  • Past exam of the mathematical and Computational Biology course of the University of Cambridge / 2025 / Paper 1 / 7 / c / Solution

 View article source

 Discussion (0)

New discussion

There are no discussions about this article yet.

 Articles by others on the same topic (0)

There are currently no matching articles.
  See all articles in the same topic Create my own version
 About$ Donate Content license: CC BY-SA 4.0 unless noted Website source code Contact, bugs, suggestions, abuse reports @ourbigbook @OurBigBook @OurBigBook