Question: Algorithm 4 . 1 k - means algorithm: given a list of N n - vectors x 1 , , xN , and an initial
Algorithm kmeans algorithm: given a list of N nvectors x xN and an initial
list of k group representative nvectors z zk repeat until convergence
Partition the vectors into k groups. For each vector i N assign xi to the group
associated with the nearest representative.
Update representatives. For each group j k set zj to be the mean of the vectors
in group j
Complexity of kmean algorithm.
a In step of the kmeans algorithm, we find the nearest neighbor to each of N nvectors,
over the list of k centroids. Show that this requires approximately N kn flops.
Exam Page of
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
