How can you compare two cluster groupings in terms of similarity or overlap in Python?
问题 Simplified example of what I'm trying to do: Let's say I have 3 data points A, B, and C. I run KMeans clustering on this data and get 2 clusters [(A,B),(C)] . Then I run MeanShift clustering on this data and get 2 clusters [(A),(B,C)] . So clearly the two clustering methods have clustered the data in different ways. I want to be able to quantify this difference. In other words, what metric can I use to determine percent similarity/overlap between the two cluster groupings obtained from the