from sklearn.metrics import mutual_info_score for i in range(num): x = self.NeuronSig[i, begin:end] for j in range(i, num): y = self.NeuronSig[j, begin:end] #计算两个神经元之间的Mutual Information corr, _ = mutual_info_score(x, y) rsMatrix[i, j] = corr rsMatrix[j, i] = corr
Python 计算 Mutual Information
最新推荐文章于 2024-08-08 05:07:55 发布
关键词由CSDN通过智能技术生成