elouvain

Ensemble wrapper of Louvain for stable and accurate communities


Keywords
Communities, Clustering, Networks, community-detection
License
MIT
Install
pip install elouvain==0.1

Documentation

Ensemble Louvain

Ensemble Louvain is a Python implementation of the Ensemble Louvain algorithm presented at the Networks 2021 Conference. Detailed experiment results and comparisons soon...

Installation

Use the package manager pip to install elouvain.

pip install elouvain

Usage

from elouvain import ensemble_louvain
import networkx as nx

G = nx.karate_club_graph() # create the well-known karate club network
partition = ensemble_louvain.detect(G) # apply Ensemble Louvain on the graph
partition[1] # get community label for node 1

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT