Hacker News new | ask | show | jobs
by n4r9 2799 days ago
The closest-pair algorithm is something you might use in single-linkage clustering, not K-means clustering:

https://en.wikipedia.org/wiki/Single-linkage_clustering