Question: Computational Complexity of K - Medoids 2 points possible ( graded ) Remember that the K - Medoids algorithm is given by Randomly select z

Computational Complexity of K-Medoids
2 points possible (graded)
Remember that the K-Medoids algorithm is given by
Randomly select z1,dots,zK
Iterate
Given z1,dotszK, assign each x(3) to the closest zj, so that
Cosit(z1,dotszK)=i=1nminj=1,dots,kdisi(x(i),zj)
Given Cjin{C1,dots,CK} find the best representative zjin{x1,dots,xn} such that
x(0)=Cj?dist(x(i),zj)
is minimal.
What is the complexity of step 2.1?
O(n)
O(nK)
O(K2)
O(ndK)
Now what is the complexity of step 2.2?
O(ndK)
O(nK2)
O(nK2d)
O(n2dK)
Computational Complexity of K - Medoids 2 points

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!