python-louvain icon indicating copy to clipboard operation
python-louvain copied to clipboard

Resolution issues

Open yuxuanChen777 opened this issue 3 years ago • 1 comments

Why does a decrease in resolution result in a much larger number of clusters? Increasing resolution also increases the number of clusters.

`G = nx.erdos_renyi_graph(1000, 0.01) partition = community_louvain.best_partition(G,resolution=1) C=[]

for k in partition.values(): C.append(k) C=set(C) len(C)`

yuxuanChen777 avatar May 24 '22 09:05 yuxuanChen777

Having the same problem here

pablosteinmetz avatar May 25 '22 15:05 pablosteinmetz