Question: 4 . [ Clustering , K - means ] We want to cluster the following dataset into K = 3 clusters using the K -

4.[Clustering, K-means]
We want to cluster the following dataset into K =3 clusters using the K-means
algorithin:
I (2)=10,2(3)=16,
x (4)=20,
x (5)=26,
where each 2*) is an one-dimensional data point.
(a) Please analyze how K-means updates the centroids of the clusters if we initialize
the centroids of the K =3 clusters by: f1=2, H2=3, and us =4. What
values would the centroids (41, M2,|3) converge to when K-means determines?
Please show the centroid locations at each iteration of K-means. (If no points are assigned to a cluster at a given iteration, do NOT updateitscentroid).

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!