全部书籍

专业

应用 关于 Coach 登录 开始阅读

书籍暂未推出简体中文版——当前显示英文版。

Computer Science · 术语表

什么是 Clustering, centroid, k-means cost?

又称: clustering · centroid · k-means cost

Definition 29.13 University Computer Science — Year 2 · 第 29 章 — Learning from Examples: Decision Trees and Clustering

A clustering of a finite set of points P⊂RdP \subset \mathbb{R}^d into kk clusters is a partition of PP into kk parts, given by an assignment a:P→{1,…,k}a : P \to \{1, \dots, k\}. The centroid of a non-empty finite set is the mean of its points. Given centres c1,…,ckc_1, \dots, c_k, the kk-means cost of an assignment is ∑p∈P∥p−ca(p)∥2\sum_{p \in P} \lVert p - c_{a(p)} \rVert^2.

Lloyd’s algorithm from the start of seed 3, on five planted groups of 30 points. Crosses: the centres; colours and shapes: the clusters. Two centres start in the upper right group and never leave it, and one centre has to cover the two lower groups: a local minimum at cost 625.7, against 131.2 for the planted grouping. Drawn by figs.py.
Lloyd’s algorithm from the start of seed 3, on five planted groups of 30 points. Crosses: the centres; colours and shapes: the clusters. Two centres start in the upper right group and never leave it, and one centre has to cover the two lower groups: a local minimum at cost 625.7, against 131.2 for the planted grouping. Drawn by figs.py.
在原文中阅读 →