I want to use Python to calculate Jaccard similarity between different clusters. In my dataset there are clusters that are labeled already. The result must be an adjacency matrix according to cluster. I have seen the question about the Jaccard similarity between the different rows, but I still don`t know which value should I calculate for each cluster and how can I deal with.
Here is my datasets below: There are only first 5 rows, in fact there are more as 3000 rows with 12 clusters