Open danieledler opened 1 year ago
Replicate in python:
edges = [ [1,2], [2,3], [3,1], [3,4], [4,5], [5,6], [6,4], ] G = nx.DiGraph() G.add_edges_from(edges) py.find_communities(G, recorded_teleportation=True, num_trials=1) # gives index codelength 0.102 py.find_communities(G, recorded_teleportation=True, num_trials=2) # gives index codelength 0.251
Replicate in python: