This platform leverages K-Means Clustering to segment customers based on their characteristics and behaviors. These insights enable businesses to understand different customer groups and build data-driven, targeted marketing strategies.
- Data Upload: Import your own customer data (CSV) or use sample data
- Feature Selection: Choose features like Annual Income and Spending Score
- Interactive Clustering: Segment customers using K-Means clustering
- Data Visualization: Explore clusters with interactive Plotly visualizations
- AI-Generated Insights: Get actionable marketing suggestions using Gemini AI
- Download Results: Export segmented data for further use
-
Data Preparation
Upload your own dataset or use a built-in sample dataset. -
Feature Selection
Select two features (e.g.,Annual Income,Spending Score) for clustering. -
K-Means Clustering
Segment your customers into groups based on feature similarity. -
Visualization
Interactive charts help you visually understand your customer segments. -
AI Analysis
Get automated marketing insights for each segment using Google's Gemini AI.
-
Upload Data
Upload a CSV file with customer data or generate a sample dataset. -
Configure Settings
Select two features for clustering and adjust the number of clusters. -
Explore Results
Analyze clusters using visual tools and summary statistics. -
Generate Insights
Click to generate AI-powered marketing recommendations. -
Download Results
Export your segmented dataset as a CSV.
- Elbow Method: Suggests the optimal number of clusters.
- Cluster Plot: Shows customer groupings in 2D feature space.
- Cluster Statistics: Summary metrics for each segment.
- Comparison Tools: Compare characteristics between segments.
- 🎯 Targeted Marketing: Create personalized campaigns for each segment.
- 🧪 Product Development: Design offerings tailored to group needs.
- 💸 Pricing Strategy: Adjust pricing strategies by segment.
- 🤝 Customer Retention: Identify and retain at-risk customers.
- 📈 Resource Allocation: Focus on high-value segments.
- Python – Core programming language
- Streamlit – Web app framework
- Scikit-learn – Machine learning and clustering
- Plotly – Interactive data visualizations
- Google's Gemini AI – AI-generated business insights
To run locally:
pip install -r requirements.txt
streamlit run app.py