Question: Given 1 0 vector data distributed on the coordinate plate ( Figure 2 ) : ( 2 , 6 ) , ( 3 , 4

Given 10 vector data distributed on the coordinate plate (Figure 2): (2,6),(3,4),(3,8),(4,7),(7,6),(6,2),(6,3),(7,3),(7,4),(8,5). If we want to cluster the data into two groups ('+' and '-') and place two initial centroids at (1,1) and (4,1), please follow the K-means algorithm to assign the label of each data and update the coordinates of the centroids and the label of the data until no more changes. Output the final centroids' coordinates and record how many rounds of calculations are conducted.
Note: use Euclidean distance to calculate distance, consider using Excel for this (the Excel example is available in eCourse homework folder)
rigure . Uiustering data ses
Given 1 0 vector data distributed on the

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!