K-Means Algorithm
Assume we have the below dataset that shows 7 points in a2-dimensional space, with x coordinates shown in the x column, andy coordinates shown in the y column.
Assuming the number of clusters is set to 2 (i.e., k=2), anddistances among points are measured by Euclidean distance. Based onobservation, a good choice of the initial centroids (clustercenters) are point 1 (1.0, 1.0) and point 4 (5.0, 7.0) (these twopoints are relatively further away from each other). Your job is torun the k-means algorithm and answer the following questions.
Part A: After the initial centroids are assigned (shown above),the first step in
PayPal Gateway not configured
PayPal Gateway not configured