Skip to content

Repository files navigation

📊 Customer Segmentation Using Machine Learning (K-Means Clustering)

Learn how to perform customer segmentation using machine learning in this complete Python data science project. In this project, we walk through the full workflow—from raw data to deployed web application—showing how businesses can identify meaningful customer groups and drive data-driven decisions.

We use K-Means clustering to segment customers based on demographic and behavioral features, helping uncover hidden patterns in customer data.


🚀 What You’ll Learn

  • Data preprocessing and feature selection
  • Customer segmentation using K-Means clustering
  • Feature scaling with StandardScaler
  • Model training and evaluation using Scikit-learn
  • Building an interactive Streamlit dashboard
  • Deploying a machine learning app live on Streamlit Cloud

🌐 Live Application

👉 Try the live app here: 🔗 https://customer-segmentation-using-ml.streamlit.app/


📸 Dashboard Preview

Here’s a screenshot of the interactive Streamlit dashboard:

Customer Segmentation Dashboard

🛠 Tech Stack

  • Python
  • Pandas & NumPy
  • Scikit-learn
  • K-Means Clustering
  • Streamlit
  • Joblib


💡 Why Customer Segmentation Matters

Customer segmentation helps businesses:

  • Identify high-value customers
  • Personalize marketing strategies
  • Improve customer retention
  • Increase revenue through targeted actions

This project demonstrates how machine learning transforms raw customer data into actionable business insights.

About

Customer Segmentation using Machine Learning with K-Means clustering. This project preprocesses customer data, identifies distinct customer groups, and deploys an interactive Streamlit app for real-time segment prediction.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages