I am performing K-means clustering on a dataset but I have ground truth labels available. I have used them during clustering to find the V-Measure and Adjusted Rand scores to get the best K.
To assess my best model, I would like a metric for each known label that describes how well it was clustered - almost like the Purity score but for a label spread across multiple clusters.
For example, label 0 has 5 data points, therefore we have the following:
true_labels = [0,0,0,0,0]
cluster_numbers = [1,1,1,1,1] (i.e. all label 0 points are in the same cluster)
--> should return a perfect score of 1.0
And if the points of the labels are spread across multiple clusters like this
cluster_numbers = [0,0,0,1,1]
--> return score of 0.6
Does anyone know of a metric that can be used to evaluate each ground truth label in clustering? This does not have to act the same way as the examples I gave above.