This project demonstrates the K-Means Clustering algorithm using Scikit-learn. It generates synthetic data with multiple clusters and applies K-Means to identify and visualize them.
The dataset is generated using make_blobs() and contains 300 samples grouped into 4 clusters with 2 features each. This synthetic data is ideal for visualizing unsupervised learning.
This project: Creates clustered data with make_blobs
Applies K-Means clustering with:
k-means++ initialization
4 clusters
300 iterations max
Visualizes the clustered data and centroids using Matplotlib
Python
NumPy
Matplotlib
Scikit-learn
Syed Imthiaz I
B.E. Computer Science and Engineering
KCG College of Technology
π LinkedIn
π LinkedIn Post
Β© 2025 Syed Imthiaz I β All rights reserved. Unauthorized copying, modification, distribution, or use of this code or any part of it is strictly prohibited without the express written permission of the author.
π© For permission requests, contact: syedimthiaz2006@gmail.com