What is clustering?
Grouping unlabelled data so that similar items end up together. The k-means method alternates between assigning each point to its nearest centre and moving each centre to the mean of its points.
Where it is taught
Clustering. Finding groups in data when nobody has labelled anything. The k-means method needs two steps, repeated, and both are things you already know.
What the lesson leaves you with
- k-means alternates two steps: assign each point to its nearest centre, then move each centre to the mean of its points.
- Each step can only lower the total squared distance, so the method always settles.
- The result depends on the starting centres and on your choice of .
Questions
- What is clustering?
- Grouping unlabelled data so that similar items end up together. The k-means method alternates between assigning each point to its nearest centre and moving each centre to the mean of its points.
- Where is clustering used in AI?
- Finding groups in data when nobody has labelled anything. The k-means method needs two steps, repeated, and both are things you already know.
- What is the key idea to remember about clustering?
- k-means alternates two steps: assign each point to its nearest centre, then move each centre to the mean of its points.
- Where can I learn clustering step by step?
- In the lesson “Clustering” in Gradient’s course on the maths behind AI, with interactive diagrams and questions.