When would you choose k-medoids over standard k-means?
Last updated
Choose k-medoids for robustness to outliers: the medoid must be an actual data point minimizing total distance, so it behaves like a median rather than a mean.
It also supports arbitrary or precomputed dissimilarities (Gower, edit distance, DTW) and yields interpretable real exemplars as centers.
Stay with k-means for large n or clean, numeric, spherical clusters, since PAM is roughly O(n²) per iteration. CLARA, CLARANS, or FasterPAM help at scale.