Question: Apply k-means algorithm to data given below for k= 2. Assume that at first, clusters are C=X, X2, X4} and C={X3, X5}. The distance

Apply k-means algorithm to data given below for k= 2. Assume that at first, clusters are C=X, X2, X4} and 


Apply k-means algorithm to data given below for k= 2. Assume that at first, clusters are C=X, X2, X4} and C={X3, X5}. The distance function is Euclidean distance. Data objects X X X3 X4 X5 Variable- 1 4 6 5 10 11 Variable-2 2 4 1 6 8 a) Find the new clusters and show the steps of the algorithm. b) Show the new clusters on the plot.

Step by Step Solution

3.45 Rating (152 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

A finding new clusters 1The centroid of C1 is 46103 2463 203 4 2The centroid of C2 is 5112 182 8 45 Next we calculate the Euclidean distance from each data point to each centroid The Euclidean distanc... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!