How to determine the optimal number of clusters: scree plots and the elbow method
Our objective can now be restated in more precise language: we wish to find the value of k in our k-means clustering procedure that yields the lowest total cluster distortion. …