Clustering (part 2/4: example and how to choose the number of clusters)

18 Nov 2016 · 9 min
9:16

In this instructional video, the presenter applies hierarchical clustering to a real dataset consisting of mean monthly temperatures for 23 European capitals, using centered and standardized variables, Euclidean distance, and Ward's linkage. The resulting dendrogram reveals natural groupings such as Sofia‑Sarajevo and a Mediterranean cluster (Athens, Lisbon, Madrid, Rome). A companion bar plot displays the loss of between‑class inertia as clusters are merged, illustrating how the total inertia (equal to the number of variables, 12) is partitioned across merges. The speaker explains how to interpret the size of each bar, the ratio of between‑class inertia to total inertia, and compares these ratios to the variance explained by the first principal components of a PCA. By examining inertia loss, tree branch lengths, and the interpretability of resulting groups, the video outlines practical strategies for deciding how many clusters to retain, emphasizing the trade‑off between overly coarse groupings that hide heterogeneity and overly fine groupings that lack meaningful distinction. The discussion concludes with guidance on when to stop merging clusters based on data size, variability, and the ability to meaningfully characterize each class, setting the stage for the next video on fixed‑class partitioning methods.

Chapters

More from Yamossoun

8:56
youtube.com

Compteur synchrone - Logique séquentielle

2w ago
11:58
youtube.com

Compteur asynchrone et diviseur de fréquence - Logique séquentielle

3w ago
11:37
youtube.com

Les registres (parallèle et à décalage) - Logique séquentielle

1mo ago
6:14
youtube.com

Bascule T (Toggle) - Logique séquentielle

1mo ago
12:05
youtube.com

Bascule JK - Logique séquentielle

1mo ago
9:17
youtube.com

Bascule D flip-flop active sur front montant - Logique séquentielle

1mo ago
10:08
youtube.com

Bascule D Latch - Logique séquentielle

1mo ago
8:13
youtube.com

Bascule RS - Logique séquentielle

1mo ago
5:04
youtube.com

Logique séquentielle - Introduction

2mo ago
1:15
youtube.com

Le codeur - Logique combinatoire #codeur #logique #circuit #booleanlogic

2mo ago
1:56
youtube.com

Algorithme de calcule de la racine carrée par dichotomie #dichotomy #squareroot #algorithm

3mo ago
See all content