知识卡片
质心唯一最小化组内平方距离
固定一个非空聚类时,每个坐标上的组内平方误差都是关于中心坐标的严格凸二次函数;令导数为零,中心该坐标等于组内均值。因此整组质心是唯一的平方误差最小中心。
这张卡片看不懂?
这张卡片已通过人工审查,不再接受失败反馈。
已有反馈 · 0 条
还没有人提交反馈。
在整书笔记中的位置
原书出处 · 1 处
- 第33章 机器学习算法 · 查看原书依据
Theorem 33.1 Given a nonempty cluster S(ℓ), its centroid (or mean) is the unique choice for the cluster center c(ℓ) ∈ ℝd that minimizes Proof We wish to minimize, by choosing c(ℓ) ∈ ℝd, the sum For each attribute a, the term summed is a convex quadratic function in . To minimize this function, take its derivative with respect to and set it to 0: or, equivalently, Since the minimum is obtained uniquely when each coordinate of is the average of the corresponding coordinate for x ∈ S(ℓ), the overall minimum is obtained when c(ℓ) is the centroid of the points x, as in equation (33.3). ▪ Optimal clusters for given centers The following theorem shows that the nearest-center