1
我需要在網絡中檢測社區。 但是,我不能讓會員使用Python中的igraph進行社區檢測
# Script
from igraph import *
karate = Graph.Read_Pajek("karate.gml")
karate.simplify()
cl = karate.community_fastgreedy()
print cl.membership # ---> Not work
任何人都知道如何讓會員?