News for hackers. Stuff that matters.
Re:Introduction to K-Means Clustering by oofbey on Monday March 14, 2022 @04:11PM (#30677598)
K-means has a lot going for it, but it's not very good at recovering "natural" clusters. Like if you have a dataset that you know actually is grouped in a certain way, k-means very often will not discover those clusters. Other more complex clustering algorithms will do a more reliable job. If you have to implement clustering yourself for some reason, k-means' simplicity is great. But how often do you need to write your own algorithm these days?
Re:Introduction to K-Means Clustering by twelvechairs on Monday March 14, 2022 @10:05PM (#30680958)
Yes. The visual comparison at [0] gives a good quick overview of clustering algorithms in speed and results. DBSCAN is one with an excellent combination of speed and finding clusters that are human-sensible

[0] https://scikit-learn.org/stable/auto_examples/cluster/plot_c...

Re:Introduction to K-Means Clustering by hoseja on Tuesday March 15, 2022 @07:11AM (#30683931)
You can still see it failing in that varying-density case.