Skip to content

AdityaSareen06/Customer_Segmentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

4 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Customer Segmentation - Mismatched Clusters Analysis

Deployed link : https://customersegmentation-6s99huyf9ifkafk9p9cuyy.streamlit.app/

This project analyzes customer segmentation using K-Means and Hierarchical Clustering. The focus is on identifying mismatched customersβ€”those assigned to different clusters by the two models.

πŸ“Œ Key Features

  • Mismatched Customer Analysis: Identifies customers grouped differently by clustering models.
  • Interactive Dashboard: Built with Streamlit for real-time insights.
  • Data Exploration: View mismatched customers' spending behavior, income levels, and age distributions.
  • Model Performance Comparison: Compare K-Means vs Hierarchical Clustering results.

Getting Started

1️⃣ Clone the Repository

git clone https://github.com/AdityaSareen06/Customer_Segmentation.git
cd Customer_Segmentation

# Set up Virtual Env
python -m venv venv
source venv/bin/activate  # macOS/Linux
venv\Scripts\activate     # Windows

#Install dependencies 

pip install -r requirements.txt

#Run dashboard
streamlit run src/dashboard.py

πŸ“Š Dashboard Overview
The interactive dashboard allows users to:

Explore mismatched clusters visually.
Filter customers based on spending, income, and age.
View key insights & model comparisons.

πŸ“ˆ Insights from Analysis
Most mismatched customers fall into the low spending category.
Age distribution shows significant variation, with a mix of middle-aged and senior customers.
Some outliers in spending scores indicate high-potential customers for premium offers.
Hierarchical clustering tends to group more customers into a single cluster compared to K-Means.

πŸ›  Technologies Used
Python 🐍
Streamlit πŸ“Š
Scikit-learn πŸ€–
Pandas, NumPy πŸ—οΈ
Plotly πŸ“ˆ

πŸ“œ License
This project is licensed under the MIT License.

✨ Author
πŸ‘€ Aditya Sareen
πŸ“§ Email: [email protected]
πŸ”— GitHub: AdityaSareen06

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages