Guide-linked quiz · Medium Level
K-Means Clustering Quiz
Practice K-Means assignments, centroid updates, inertia, initialization, and cluster-shape limits with concrete grouping examples.
Question 1 of 8
What does the 'K' in K-Means refer to?
Preview every question8 questions
Answers and explanations appear as you take the quiz.
- What does the 'K' in K-Means refer to?
- The number of clusters you choose in advance
- The number of data points
- The number of training iterations
- The number of features in the dataset
- What are the two repeating steps in the K-Means loop?
- Split clusters, then merge clusters
- Assign points to nearest centroid, then move centroids to the mean
- Label data, then train a classifier
- Sort data, then remove outliers
- What quantity does K-Means try to minimize?
- The number of clusters
- The distance between centroids
- Within-cluster squared distance (inertia)
- The number of features
- Why is K-Means called an 'unsupervised' algorithm?
- It uses predefined class labels to learn a boundary
- It requires one label per initial centroid
- It estimates labels only after supervised training
- It groups inputs without target class labels
- What is the 'elbow method' commonly used for?
- Speeding up training
- Choosing a good value of K
- Initializing centroids
- Removing duplicate points
- Why can K-Means give different results on different runs?
- K automatically changes on every run
- Euclidean distance uses a random definition
- Results depend on initial centroid positions
- Convergence always produces the same global optimum
- A K-Means cluster contains the one-dimensional values 2, 4, and 9. Where does its centroid move in the update step?
- 5, the mean of the assigned values
- 4, the middle observed value
- 9, the largest assigned value
- 15, the sum of the assigned values
- A dataset contains two long, curved groups. Which K-Means limitation should the analyst consider?
- The groups must have labels before clustering
- K-Means always discovers curved boundaries exactly
- Changing K guarantees the intended grouping
- Euclidean distance to centroids can poorly represent elongated or non-spherical groups
Keep testing yourself
More quizzes picked for your level.