ragibson / ModularityPruning

Pruning tool to identify small subsets of network partitions that are significant from the perspective of stochastic block model inference. This method works for single-layer and multi-layer networks, as well as for restricting focus to a fixed number of communities when desired.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add support for Leiden modularity optimization

ragibson opened this issue · comments

Swapping out the Louvain algorithm for Leiden would be relatively simple for single-layer networks.

However, there are serious performance issues in the standard implementation for multi-layer optimization, so we would have to research if it is feasible at all in that case.

Closed by #7. It does not seem possible to include the faster multi-layer optimization without changes to the upstream leidenalg package (or a fork).