Get the block matrix (for a community detection algorithm) in python igraph?

后端 未结 0 585
一向
一向 2020-12-06 03:38

I was working with graph-tool and I was able to use

state = gt.minimize_blockmodel_dl(g)
e = state.get_matrix()
plt.matshow(e.todense())

I wo

相关标签:
回答
  • 消灭零回复
提交回复
热议问题