A data scientist plotted the k-means clustering inertia (sum of squared distances) for k values from 1 to 10. Based on the elbow in the plot, which k is a reasonable choice?
Choose an answer
Tap an option to check your answer.
Correct answer: 4.
Why this is the answer
The elbow method is used to determine the optimal number of clusters (k) for k-means clustering. The inertia (sum of squared distances of samples to their closest cluster center) decreases as k increases. The "elbow" point on the plot represents the value of k where the rate of decrease in inertia sharply changes, indicating that adding more clusters beyond this point provides diminishing returns in terms of reducing within-cluster variance. In this scenario, an elbow at k=4 suggests that 4 clusters provide a good balance between minimizing inertia and avoiding overfitting. Choosing k=1 would mean no clustering. Choosing k=7 or k=10 would likely be past the elbow, suggesting too many clusters and potentially overfitting, without significant improvement in inertia.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed