+ 11
K-means algorithm
Check out my new visualization of the k-means algorithm (2d-plots) https://code.sololearn.com/WKbUixfUwEp7/?ref=app
7 ответов
+ 12
Excellent! Could you add some randomness to the scatterplot? Perhaps the points locations could be random and the k variable could be adjusted by the user?
In any way - a great code, I must say :)
+ 10
Yep, seen it just a second ago - great stuff! :)
+ 8
Thanks :)
Ya of course I could add those features
+ 8
@Martin Yes, works alright although is a bit slow. Perhaps different centroids should have different colors of their shortest-distance links?
+ 8
Ok, im working on it :P Thanks for you feedback👍
+ 8
Its now reworked and new features are added💥
- k variable adjustable
- different colors for clusters
- 3 different cluster choices
- random cluster option
Thanks to Kuba Siekierzyński for his ideas!
+ 7
Pretty :)