sklearn.metrics.mutual_info_score()

sklearn.metrics.mutual_info_score

sklearn.metrics.mutual_info_score(labels_true, labels_pred, contingency=None) [source]

Mutual Information between two clusterings.

The Mutual Information is a measure of the similarity between two labels of the same data. Where P(i) is the probability of a random sample occurring in cluster U_i and 登录查看完整内容