cdlib.algorithms.principled_clustering¶
- cdlib.algorithms.principled_clustering(g_original: object, cluster_count: int) FuzzyNodeClustering¶
一种高效且有原则的检测网络中社区的方法
支持的图表类型
无向
有向
加权
是的
否
否
- Parameters:
g_original – networkx/igraph 对象
cluster_count – 期望的社区数量
- Returns:
模糊节点聚类对象
- Example:
>>> from cdlib import algorithms >>> import networkx as nx >>> G = nx.karate_club_graph() >>> coms = algorithms.principled_clustering(G, 3)
- References:
B Ball, B., & E JNewman, M. (2011). 一种高效且有原则的检测网络中社区的方法。Physical ReviewE, 84, 036103.