infomap
infomap copied to clipboard
amazing! Keep the node and the corresponding edge weights unchanged, only change the node id in the graph, the clustering result will change
for (i, j), sim in tqdm(links.items()):
_ = infomapWrapper.addLink(i, j, sim)
infomapWrapper.run()
-> Configuration: two-level directed seed = 45 num-trials = 3
-> Ordinary network input, using the Map Equation for first order network flows Calculating global network flow using flow model 'directed'... -> Using unrecorded teleportation to links. -> PageRank calculation done in 50 iterations.
=> Sum node flow: 1, sum link flow: 1 Build internal network with 63 nodes and 1058 links
When constructing the graph, the order of 63 nodes is scrambled, the corresponding link is kept unchanged, and the clustering result changes.
Wanted to tell me. Why Thanks