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.
- 🔍 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
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.
- Upload a customer dataset CSV.
- The app preprocesses the data and predicts a segment using a trained KMeans model.
- Explore visual insights like:
- Cluster distribution
- Feature trends
- Segment explanations
PythonPandas,Scikit-learn,Matplotlib,SeabornStreamlitfor UIJoblibfor model persistence
- Devendra Gurav
- Pankaj Bhandari
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!