Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1 . 2 Problem: Manual implementation of K - means ( 1 3 pts . ) > ^ x ( a ) Training data set

1.2 Problem: Manual implementation of K-means (13 pts.)
>
^x
(a) Training data set for K-means clustering w/o (b) Training data set for K-means clustering w/ conconstraints straints
Figure 1: Manual implementation of K-means
Given the data set as shown in Figure 1 and assume that points A1,A6 and A8 are chosen to be the initialized cluster centers. The coordinates of the data points are:
A1=(0,0),A2=(0,1),A3=(-1,2),A4=(2,0),A5=(3,0),A6=(4,-1),A7=(4,1),A8=(5,3)
(1) Use the K-means algorithm and Euclidean distance to cluster the 8 data points shown in 1a into K=3 clusters. Show the new clusters (i.e. the examples belonging to each cluster) and cluster centers after the first iterations, does the algorithm converge after the first iteration?
(2) Consider the case that there exist 1 must link (solid orange line) and 1 cannot link (dashed red line) as shown in 1b. Show the new clusters and cluster centers after the first iterations, does the algorithm converge after the first iteration?
image text in transcribed

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

Microsoft Visual Basic 2005 For Windows Mobile Web Office And Database Applications Comprehensive

Authors: Gary B. Shelly, Thomas J. Cashman, Corinne Hoisington

1st Edition

0619254823, 978-0619254827

More Books

Students also viewed these Databases questions

Question

2. Describe how technology can impact intercultural interaction.

Answered: 1 week ago

Question

7. Define cultural space.

Answered: 1 week ago