从Igraph的community_infomap返回的代码长度

2024-05-29 11:17:12 发布

您现在位置:Python中文网/ 问答频道 /正文

我需要用Python获取社区网络的代码长度

文档(https://igraph.org/python/doc/igraph.GraphBase-class.html#community_infomap)说community_infomap返回计算出的成员向量和元组中相应的代码长度。但是

gm.community_infomap(edge_weights=gm.es['weight'], vertex_weights=None, trials=10)

其中gm是我的有向加权网络,只是一个<;igraph.clustering.VertexClustering,它提供了集群及其元素,但与代码长度无关

提前谢谢


Tags: 代码文档httpsorgcommunity网络dochtml

热门问题