Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

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?

share|improve this question

1 Answer 1

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.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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