You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(louvain): prevent over-merging on small and dense graphs
Three fixes to Louvain community detection:
- Cap adaptive threshold at 1/(4m) so modularity gains are detectable
on dense graphs where per-node delta-Q ~ 1/(2m)
- Skip Phase 2 aggregation on the last hierarchy level to prevent
node-to-community key mismatches
- Raise hierarchical optimization threshold to 200 nodes and converge
at <=2 communities to prevent over-merging small graphs
0 commit comments