Unsupervised Learning: Clustering

World Happiness Report 2021

Index

  1. Load and Explore Data
  2. Correlation Analysis
  3. Dimensionality Reduction
    • PCA
    • PCs Dependencies
    • PCA Variance Ratio
  4. Clustering: apply 3 different approaches
    • By partitioning: K-means
    • By Hierarchy: Hierarchical Agglomerative Clustering
    • By density: BSCAN
  5. Comparing Results

1. Load and Explore Data

Loading initial dataset

2. Correlation Analysis

3. Dimensionality Reduction

3.1. PCA

3.2. PCs Dependencies

As can be seen in the plot above, all principal components (PCs) are orthogonal.

3.3. PCA Variance Ratio

4. Clustering: apply 3 different approaches

4.1. By partitioning: K-means

4.2. By Hierarchy: Hierarchical Agglomerative Clustering

4.3. By density: BSCAN

5. Comparing Results


« Home