All mock tests are FREE till 31 December — register to save your progress
Unit 10 · Artificial Intelligence (AI) Paper 2 CS · December 2023

Arrange the following steps in the correct sequence for applying K-means clustering to a data set:
(a) Randomly initialise cluster centroids
(b) Assign each data point to the nearest cluster centroid
(c) Update the cluster centroids based on the mean of the points assigned to each cluster
(d) Specify the number of clusters K
(e) Repeat steps (b) and (c) until convergence
Choose the correct answer from the options given below:

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: A. (d), (a), (b), (c), (e)

Explanation

Choose K, initialise centroids, assign points, recompute centroids, repeat until convergence.

More Artificial Intelligence (AI) questions