Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2. (30 points) Given the following data points in 1D: x1 = 2, X2 = 4, 23 = 5, 24 = 8, 25 = 10,

image text in transcribed

2. (30 points) Given the following data points in 1D: x1 = 2, X2 = 4, 23 = 5, 24 = 8, 25 = 10, 26 = 12, perform k-means clustering algorithm for k = 2. (a) Start from initial cluster centers ci 0, C2 9. Show your steps for all iterations: (1) the cluster assignments Y1, ... , Y6; (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 = 4, C2 = 10. (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? 2. (30 points) Given the following data points in 1D: x1 = 2, X2 = 4, 23 = 5, 24 = 8, 25 = 10, 26 = 12, perform k-means clustering algorithm for k = 2. (a) Start from initial cluster centers ci 0, C2 9. Show your steps for all iterations: (1) the cluster assignments Y1, ... , Y6; (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 = 4, C2 = 10. (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

Upgrading Oracle Databases Oracle Database New Features

Authors: Charles Kim, Gary Gordhamer, Sean Scott

1st Edition

B0BL12WFP6, 979-8359657501

More Books

Students also viewed these Databases questions

Question

What is the difference between Needs and GAP Analyses?

Answered: 1 week ago

Question

What are ERP suites? Are HCMSs part of ERPs?

Answered: 1 week ago