梦家的博客Excellence is a continuous process and not an ...标准化互信息NMI计算步骤及其Python实现 标准化互信息NMI具体定义可以参考另一篇博客: https://smj2284672469.github.io/2017/10/27/community-detection-mea
^哪来的&永远~的博客以鸢尾花数据为例: from sklearn import metrics ...def NMI_matrix(df): # 计算标准化互信息矩阵 number = df.columns.size # 获取df的列数 List = [] Name = [] for n in range(number): Name