Search code examples
cluster-analysiscentroid

Providing Centroids and Then Clustering


I seem to find a lot of documentation based on computing centroids and clustering, but what if I assign centroid values themselves.

Say if I provide 14 different centroid vectors. How would I go about clustering my data to those 14 different centroid values?

Maybe this is an easy question, but I haven't found an answer online, so wanted to make sure.


Solution

  • If the centroids are predefined, then you are doing nearest-neighbor classification, not clustering. It's only clustering if the structure is not predefined.