Hierarchical Clustering
machine learningUpdated Oct 25, 2025
Group mall customers based on their Annual Income and Spending Score using Hierarchical Clustering and visualize dendrograms.
Language: PythonLevel: intermediate
Learning Objectives
- Perform Hierarchical Clustering using Scipy and Scikit-learn.
- Plot a dendrogram to determine the optimal number of clusters.
- Visualize resulting customer segments in a 2D space.
Loading...
thomasuhuru.com
notebooks/hierarchical-clustering-in-python.ipynb