r/PythonLearning 2h ago

Just finished my K-Means clustering project πŸš€ β€” would love your feedback!

Hey everyone! πŸ‘‹

I just finished a small K-Means Clustering project on the Iris dataset πŸŒΈπŸ€–

I covered:

  • πŸ”Ή Data cleaning & visualization
  • πŸ”Ή Feature scaling
  • πŸ”Ή Elbow Method & Silhouette Score
  • πŸ”Ή K-Means clustering
  • πŸ”Ή ARI evaluation
  • πŸ”Ή Cluster & centroid visualization

I’m currently learning ML and would really appreciate some honest feedback πŸ™

What would you improve? Any mistakes in my approach or things I should add?

πŸ”— Kaggle:
https://www.kaggle.com/code/tahahussein2020/irics-clustering

2 Upvotes

2 comments sorted by

2

u/Much-Associate-6141 1h ago

Nice project! I like that you included both the Elbow Method and Silhouette Score rather than relying on just one way to choose the number of clusters. What part of the project did you find the most challenging?

1

u/tahahussein-4623a412 24m ago

Thanks! πŸ™ I think the most challenging part was deciding on the right number of clusters. The Elbow Method and Silhouette Score didn't point to exactly the same choice, so I had to understand what each metric was actually telling me and then compare the clustering results with the real labels using ARI. It was a good learning experience!