Question: Computational Complexity of K - Means 1 point possible ( graded ) Remember that the K - Means algorithm is given by Randomly select z

Computational Complexity of K-Means
1 point possible (graded)
Remember that the K-Means algorithm is given by
Randomly select z1,dots,zK
Iterate
Given z1,dotszK, assign each x(j) to the closest zj, so that
Cost(z1,dotszK)=i=1nminj=1,dots,k||x(i)-zj||2
Given C1,dots,CK find the best representatives z1,dots,zK, i.e. find z1,dots,zK such that
zj=iECj?x(i)|Cj|
Assuming that there are n data points {x1,dots,xn},K clusters and representatives, and each
xiin{x1,dots,xn} is a vector of dimension d, what is the computational complexity for one complete
iteration of the k-means algorithm? That is, find the time (or the number of steps) it takes to complete steps 2.1
and 2.2.
Note on Big-O notation
O(n)
O(nK)
O(nK2)
O(ndK)
Computational Complexity of K - Means 1 point

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!