Question: Figure 1 : Scatter plot of datasets and the initialized centers of 3 clusters Given the input matrix x whose rows represent different data points,

Figure 1: Scatter plot of datasets and the initialized centers of 3 clusters
Given the input matrix x whose rows represent different data points, please perform a k-means clustering on this dataset using the Euclidean distance as the distance function. Here k is chosen as 3. The Euclidean distance d between input vector vec(p)inRn and vec(q)inRn is defined as
d=i=1n(pi-qi)22
All data in X were plotted in Figure 1. The center of 3 clusters were initialized as vec(c1)=(6.2,3.2)(red), vec(c2)=(6.6,3.7)(green), vec(c3)=(6.5,3.0)(blue).
x=[5.93.24.62.96.22.84.73.25.54.25.03.04.93.16.73.15.13.86.03.0]
a. What are 3 clusters and their centers after one iteration? Show the detailed steps, same as questions b.[15 pts]
b. What are 3 clusters and their centers after two iterations? [15 pts]
Figure 1 : Scatter plot of datasets and the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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!