Prediction using Unsupervised K-Means Clustering

Опубликовано: 05 Июль 2026
на канале: Abdelrahman Ragab
60
1

The Sparks Foundation Internship Tasks

predict the optimal number of k (clusters) of unlabeled data (iris dataset)
and represent it visually

Github: https://github.com/Abdelrhman2022/Pre...

Dataset
Dataset can be found here https://bit.ly/3kXTdox

Also, can import it using sklearn.datasets

Steps:
1- Reading and exploring the data
2- Preparing the data
3- Finding the optimum number of clusters With WCSS
4- Finding the optimum number of clusters using Elbow method
5- Training model
6- Visualizing clusters