Clustering with R (FactoMineR & Factoshiny)

3 Mar 2020 · 17 min
17:02

The tutorial demonstrates how to perform hierarchical clustering on the Decathlon dataset using the FactoMineR package and its interactive Factoshiny interface. It explains that clustering can be applied directly to raw quantitative data or to the coordinates obtained from a principal component method (PCA, MCA, MFA, etc.). The presenter walks through loading the dataset, standardizing variables, selecting the number of PCA dimensions based on inertia (e.g., keeping 8 dimensions for 96% variance), and configuring the clustering parameters (number of clusters, k‑means preprocessing, consolidation, distance metric). The default solution yields four clusters, justified by inertia loss plots and tree shape. Various visualizations (2‑D, 3‑D, hierarchical tree overlays) are shown to assess cluster separation across different PCA planes. The tutorial then details how to characterize clusters using quantitative variables (v‑test, correlation ratio) and qualitative categories, how to interpret the most discriminating dimensions, and how to identify representative individuals (paragons) and the most specific individuals. Finally, it highlights the automatic generation of a full report (HTML, Word, R Markdown) and the extraction of the exact R code needed to reproduce the analysis.

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