Skip to content

Latest commit

Β 

History

History
70 lines (47 loc) Β· 1.69 KB

File metadata and controls

70 lines (47 loc) Β· 1.69 KB

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!