Skip to content

DevGurav/cust_segmentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

34 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Customer Segmentation Project

A smart and interactive web application for performing Customer Segmentation using KMeans clustering.
Built with Streamlit, this app allows users to upload their own customer dataset, analyze clusters dynamically, and explore rich insights through visual dashboards.


πŸš€ Features

  • πŸ” Upload your own dataset with custom mapping (coming soon)
  • πŸ“Š Visualize and filter cluster segments in real-time
  • πŸ“ˆ Radar chart of average metrics per segment
  • πŸ“‰ Compare features with interactive scatter plots
  • πŸ“₯ Bulk CSV upload and downloadable predictions
  • 🧠 AI-driven dynamic interpretation of each segment

πŸ“ Expected Columns

Your uploaded dataset should contain the following columns:

Age, Annual_Income, Spending_Score, Purchase_Frequency,
Total_Spending, Family_Size, Gender, Marital_Status

If the dataset structure differs, upcoming versions will allow column mapping or retraining.


πŸ§ͺ How It Works

  1. Upload a customer dataset CSV.
  2. The app preprocesses the data and predicts a segment using a trained KMeans model.
  3. Explore visual insights like:
    • Cluster distribution
    • Feature trends
    • Segment explanations

πŸ“¦ Tech Stack

  • Python
  • Pandas, Scikit-learn, Matplotlib, Seaborn
  • Streamlit for UI
  • Joblib for model persistence

πŸ‘¨β€πŸ’» Authors

  • Devendra Gurav
  • Pankaj Bhandari

🏁 Run Locally

git clone https://github.com/devendra011396/cust_segmentation.git
cd customer-segmentation
pip install -r requirements.txt
streamlit run model/streamlit_app.py

πŸ“« For suggestions or improvements, feel free to reach out or fork the repo!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors