Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Note: You need to show all your calculations in order to get full credits. Given the following data points in 1 D: x 1 =

Note: You need to show all your calculations in order to get full credits.
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?

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Real Time Database And Information Systems Research Advances

Authors: Azer Bestavros ,Victor Fay-Wolfe

1st Edition

1461377803, 978-1461377801

More Books

Students also viewed these Databases questions

Question

What are structural constraints?

Answered: 1 week ago