What must you decide before running k-means?
- The number of centres k and the distance to use
- The correct labels for every point
- The file name of the dataset
What two steps does k-means alternate?
- Assign points to the nearest centre, then move each centre to its group middle
- Delete the farthest point, then add a new centre
- Sort labels alphabetically, then count them
Clustering starts with no target column, asking only which examples resemble each other.
Circle one: True False
Your data forms long stretched groups with stray points. Which tool fits better?
- K-means, since it loves stretched shapes
- DBScan, which walks neighbours and can label strays as noise
- No algorithm, stretched data cannot be grouped
Two runs on the same points end with different groups. What best explains it?
- The points moved between runs
- K-means always returns the same groups
- Different starting centres settled into different final groups
What makes a clustering result meaningful rather than merely tidy?
- Groups are tight inside, well separated, and say something true
- The algorithm finished without errors
- The groups look neat in a table
A friend says the groups must be real because the algorithm finished. What is the best reply?
- True, finished output is always meaningful
- K-means can force neat round groups that do not exist, so check tight, separated and true
- Rerun until the groups look rounder
Points sit at 1, 2, 8 and 9, with centres at 1 and 9. After assigning each point to its nearest centre, which points does the first centre hold?
- 1, 2, 8 and 9
- 8 and 9
- 1 and 2