8 observations are clustered into 3 clusters using K-Means clustering algorithm. After first iteration clusters, C1, C2, C3 has following observations: C1: {(2,2), (4,4), (6,6)} C2: {(0,4), (4,0),(2,5)} C3: {(5,5), (9,9)} What will be the cluster centroids if you want to proceed for second iteration?

C1: (4,4), C2: (2,2), C3: (7,7)
C1: (6,6), C2: (4,4), C3: (9,9)
C1: (2,2), C2: (0,0), C3: (5,5)
C1: (4,4), C2: (3,3), C3: (7,7)

The correct answer is D.

In K-means clustering, the cluster centroid is the mean of all the points in the cluster. To find the cluster centroids for the second iteration, we first need to find the mean of each cluster. The mean of cluster C1 is $(2+4+6)/3=4$, the mean of cluster C2 is $(0+4+2)/3=2$, and the mean of cluster C3 is $(5+9)/2=7$. Therefore, the cluster centroids for the second iteration are $(4,4)$, $(2,2)$, and $(7,7)$.

Here is a step-by-step solution:

  1. Find the mean of each cluster.

Cluster C1: $(2+4+6)/3=4$

Cluster C2: $(0+4+2)/3=2$

Cluster C3: $(5+9)/2=7$

  1. The cluster centroids for the second iteration are $(4,4)$, $(2,2)$, and $(7,7)$.
Exit mobile version