Why is Partitioning Around Medoids (PAM) computationally more expensive per iteration than Lloyd's k-means?
Role: Machine Learning Engineer
Category: Machine Learning
Difficulty: medium
Interview Round: Other
Overview: Asks why each iteration of Partitioning Around Medoids costs far more than an iteration of Lloyd's k-means. It tests complexity analysis of the assignment, update and swap steps, why medoids lack a closed-form update, the memory cost of distance matrices, and faster medoid variants.