The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
"Finding Top relevant document in kmeans cluster"
amir_askary_sha
Member Posts: 11 Contributor I
Hi,
After running kmeans clustering, how can I find out which document is the most relevant (top document) in one cluster?
Right now the documents in a cluster are sorted ascendingly by their id. I want to have them sorted by a weight score showing how relevant this document is in this cluster, or at least to see the most relevant doc in the cluster.
Tagged:
0
Answers
Hi,
how do you define relevancy?
Best,
Martin
Dortmund, Germany
I don't know exactly; any kind of relevancy. For example let's say every cluster has some top words in it (the centroids that kmeans finds), and then the document which has the shortest cosine/euclidian distance to those top words of the cluster, is the most relevant doc in the cluster.