社区发现
使用属性和结构相似性进行社区检测。
安装:
pip install community_detect
依存关系:
NetworkX
Matplotlib
用法:
Import:
from community_detect import Community
初始化:
com = Community(alpha_weight = 0.5) #You can add your own value for Alpha
职能:
Main method: get_communities(Graph, #Your Graph
Vertices, #List of Vertices
Similarity Matrix, #Similarity
1