What heuristic is commonly used in K-means clustering to determine the optimal number of clusters by looking for a 'kink' in the cost function?
Show answer
Elbow method
The elbow method involves plotting the within-cluster sum of squares (WCSS) against the number of clusters. The 'elbow' point on the graph indicates where adding more clusters no longer provides significantly better fit, suggesting an optimal k value.