Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Clustering, centroid, k-means cost » ?

Aussi appelé : clustering · centroid · k-means cost

Definition 29.13 University Computer Science — Year 2 · Chapitre 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.
Lire dans le chapitre →