Question: ( 3 0 points ) Given the following data points in 1 D: x 1 = 4 , x 2 = 6 , x 3

(30 points) Given the following data points in 1D: x1=4,x2=6,x3=7,x4=8,x5=
10,x6=12,x7=14,x8=16, perform k-means clustering algorithm for K=2.
(a) Start from initial cluster centers c1=3,c2=12. Show your steps for all iterations:
(1) the cluster assignments y1,cdots,y9;(2) the updated cluster centers at the end
of that iteration.
(b) How many iterations does it take for k-means algorithm to converge (i.e., number
of iterations includes all iterations you perform to find convergence)? What is
the reconstruction error (i.e., distortion measure J, equation 9.1 of the Bishop's
textbook) at the end of that iteration?
(c) Repeat the above steps with initial cluster centers c1=8,c2=14.
(d) How many iterations does it take for k-means algorithm to converge in this case?
What is the reconstruction error at the end of that iteration?
(e) Comparing (a) with (c), which solution is better? Why?
 (30 points) Given the following data points in 1D: x1=4,x2=6,x3=7,x4=8,x5= 10,x6=12,x7=14,x8=16,

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 Databases Questions!