Skip to content

This project applies Hierarchical Clustering to segment customers based on their Annual Income and Spending Score. It uses dendrograms to determine the number of clusters and applies Agglomerative Clustering for grouping.

Notifications You must be signed in to change notification settings

lasya-s-610/Hierarchical-clustering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ›οΈ Customer Segmentation using Hierarchical Clustering

This project demonstrates Hierarchical Clustering for customer segmentation using a dataset of annual income and spending scores. It visually identifies customer groups based on their purchasing behavior.


πŸ“Š Dataset

  • Features Used:
    • Annual Income (k$)
    • Spending Score (1-100)
  • Example source: Mall Customer Segmentation Dataset (Kaggle or synthetic)

🧠 Methods Used

  • Dendrogram Plotting to determine the optimal number of clusters
  • Agglomerative Clustering using Ward linkage
  • 2D Visualization of clusters

🧰 Tools Used

  • Python (Jupyter Notebook)
  • pandas, numpy – data handling
  • matplotlib, scipy – dendrogram and plotting
  • scikit-learn – Agglomerative Clustering

πŸ“Œ Key Takeaway

Hierarchical clustering effectively segments customers into distinct groups based on income and spending behavior β€” useful in marketing strategy, loyalty targeting, and personalized recommendations.


About

This project applies Hierarchical Clustering to segment customers based on their Annual Income and Spending Score. It uses dendrograms to determine the number of clusters and applies Agglomerative Clustering for grouping.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published