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.
MIT License
16 stars 2 forks source link

Consider returning partitions in louvain_utilities #2

Closed ragibson closed 4 years ago

ragibson commented 4 years ago

By default, singlelayer_louvain and multilayer_louvain return a tuple community membership vector at the moment.

Some scripts are using the return_partition=True option and we should determine if this functionality should be moved to a different method or if we should change the default behavior.

ragibson commented 4 years ago

At the moment, return_partition=True only seems to be used in parameter_estimation.py, so I think the default behavior should remain return_partition=False.