📞 0339-0387701 (WhatsApp) Contact

« Back to Data Science & AI (NCCIA)

What is the goal of k-means clustering?

A. To maximise the distance within each cluster
B. To assign each point to a predefined label
C. To reduce the data to one dimension
D. To partition data into k clusters by minimising the sum of squared distances from points to their cluster centroid ✅

Correct Answer: D. To partition data into k clusters by minimising the sum of squared distances from points to their cluster centroid

Explanation

K-means assigns each point to the nearest centroid and updates centroids to the mean of their points, minimising within-cluster variance.