Question: x 1 = ( 0 , 1 6 ) , x 2 = ( 0 , 9 ) , x 3 = ( - 4

x1=(0,16),x2=(0,9),x3=(-4,0),x4=(4,0).
Suppose we wish to separate these points into two clusters and we initialize the K-Means algorithm by randomly assigning points to clusters. This random initialization assigns x1 to cluster 1 and all other points to cluster 2.
With these points and these initial assignments of points to clusters, what will be the final assignment of points to clusters computed by Kmeans? Explicitly write out the steps that the Kmeans algorithm will take to find the final cluster assignments. In this case, does Kmeans find the assignment of points to clusters that minimizes the following Equation?
i=1md(x(i),li),
where c is the centroid of all points x(i) with label li=c and d(x,y) is the distance between points x and y. Usually d is the Euclidean distance, given by
d(x,y)=(i=1n(xi-yi)2)12
x 1 = ( 0 , 1 6 ) , x 2 = ( 0 , 9 ) , x 3 = ( - 4

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!