#Project Overview
This project implements the K-Means Clustering algorithm to group customers of a retail store based on their purchase behavior. The model uses customer annual income and spending score to identify different customer segments.
- Python
- Pandas
- Scikit-learn
- Matplotlib
- Data Loading and Preprocessing
- Customer Segmentation using K-Means Clustering
- Elbow Method for Optimal Cluster Selection
- Cluster Visualization
- Customer Behavior Analysis
The project uses the Mall Customer Dataset containing:
- Customer ID
- Gender
- Age
- Annual Income (k$)
- Spending Score (1-100)
K-Means is an unsupervised machine learning algorithm that groups similar data points into clusters based on their characteristics.
The project includes:
- Elbow Method Graph
- Customer Segmentation Scatter Plot
- Cluster Centers Visualization
SCT_ML_2/
│
├── customer_segmentation.py
├── Mall_Customers.csv
├── requirements.txt
└── README.md
Clone the repository:
git clone https://github.com/subodh-cse/SCT_ML_2.gitMove into the project directory:
cd SCT_ML_2Install required libraries:
pip install -r requirements.txtpython customer_segmentation.py#Elbow Method
- Use more customer attributes for clustering
- Compare different clustering algorithms
- Create an interactive dashboard
- Deploy the project as a web application
This project demonstrates how K-Means Clustering can be used to segment customers based on spending behavior and annual income. Customer segmentation helps businesses better understand customer groups and improve marketing strategies.
Subodh
This project was completed as part of the Machine Learning Internship tasks provided by SkillCraft Technology.

