1
$\begingroup$

I was reading this article on $K$-Means and I got lost when it was time to assign objects to clusters. After calculating the centroids distance to every object, how can I calculate the minimum distance in other to assign objects to the nearest cluster?

$\endgroup$

1 Answer 1

1
$\begingroup$

Going through the article again, I found out that there isn't any need to find a minimum distance other than the distance between the centroids and other vectors. If the distance between a vector and two centroid A and B are 2.45 and 3.6 respectively, then the object is assigned to centroid A because of the lesser distance between them.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.