Question 1
In the K-means algorithm, cluster centroids are updated at each iteration to minimize the sum of squared distances between data points and their assigned centroids. The formula used for this update is:
Here:
- represents data point in the dataset.
- represents the cluster assignment for data point , where is an integer indicating the cluster index .
Suppose you have a dataset of 9 two-dimensional data points and are performing K-means clustering with clusters. After the first iteration, clusters , and have the following data points:
:
:
:
After the second iteration, which of the following options represents the updated cluster centroid for using the provided formula?
μ1 = (2.5, 2.5)
μ1 = (4.5, 4.5)
μ1 = (3, 3)
μ1 = (5.5, 5.5)
