K-Means Clustering
machine learningUpdated Oct 25, 2025
Segment mall customers based on their Annual Income and Spending Score using the K-Means clustering algorithm.
Language: PythonLevel: intermediateTask: clusteringDataset: Mall_Customers.csv
Learning Objectives
- Implement K-Means clustering using Scikit-learn.
- Use the Elbow Method to determine the optimal number of clusters.
- Visualize customer segments in a 2D feature space.
Loading...
thomasuhuru.com