Why is a k-means center a mean location?
K-means alternates nearest-center assignments with mean updates to reduce within-cluster squared distance.
KMeans in practice
One center for customers at positions 1, 2 and 9 lies at 4. That optimizes squared distance, which is different from the length of a delivery tour.
中文
K 均值的簇中心为什么像平均位置?
K 均值交替进行就近分配和更新均值,优化样本到所属中心的平方距离之和。
KMeans 应用实例
直线上客户位于 1、2、9,若只设一个中心,位置是 4。它优化平方距离,不一定最小化送货路线长度。