Open BaccanoEva opened 7 years ago
在算法的get_hubs_outliers(self, communities)函数中:neighbor_community.add(node_community[neighbor]) 如果node_community中并没有neighbor,这个地方就会报错。并且算法本身也并不能保证不出现这种情况(我在我的数据集上运行的时候遇到了这个问题)
好的,有空看看
您好,修补了这个问题,您可以查看一下 @BaccanoEva
在算法的get_hubs_outliers(self, communities)函数中:neighbor_community.add(node_community[neighbor]) 如果node_community中并没有neighbor,这个地方就会报错。并且算法本身也并不能保证不出现这种情况(我在我的数据集上运行的时候遇到了这个问题)