zzz24512653 / CommunityDetection

Implements of community detection algorithms
354 stars 174 forks source link

你好,SCAN算法中有个地方感觉可以改一下 #4

Open BaccanoEva opened 7 years ago

BaccanoEva commented 7 years ago

在算法的get_hubs_outliers(self, communities)函数中:neighbor_community.add(node_community[neighbor]) 如果node_community中并没有neighbor,这个地方就会报错。并且算法本身也并不能保证不出现这种情况(我在我的数据集上运行的时候遇到了这个问题)

zzz24512653 commented 7 years ago

好的,有空看看

zzz24512653 commented 7 years ago

您好,修补了这个问题,您可以查看一下 @BaccanoEva