Skip to content

The dataset includes the following columns: Id, SepalLengthCm, SepalWidthCm, PetalLengthCm, PetalWidthCm, and Species. We will use the Sepal and Petal measurements to predict the optimum number of clusters using the KMeans algorithm.

Notifications You must be signed in to change notification settings

sajjad425/kmeans_clustering

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

kmeans_clustering

Summary of Steps:

  1. Import necessary libraries.
  2. Preprocess the data: Standardized the features to ensure equal contribution.
  3. Determine the optimal number of clusters using the Elbow method: The Elbow graph indicated 3 as the optimal number.
  4. Apply KMeans clustering: Clustered the data into 3 clusters.
  5. Visualize the clusters: Created a scatter plot to visually represent the clusters.

About

The dataset includes the following columns: Id, SepalLengthCm, SepalWidthCm, PetalLengthCm, PetalWidthCm, and Species. We will use the Sepal and Petal measurements to predict the optimum number of clusters using the KMeans algorithm.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published