R icon indicating copy to clipboard operation
R copied to clipboard

Louvain community detection

Open ArpitaHanjagi opened this issue 2 months ago • 1 comments

Algorithm: Louvain Method for Community Detection

Purpose: Detects communities or clusters in an undirected graph by optimizing modularity.

Theory:

Each node starts in its own community.

Iteratively moves nodes to neighboring communities to maximize modularity gain.

Aggregates nodes into super-nodes and repeats until modularity converges.

Time Complexity: Roughly O(V log V) for sparse graphs.

Space Complexity: O(V + E).

Input: Undirected graph as an adjacency list.

Output: Community assignment for each vertex.

ArpitaHanjagi avatar Oct 20 '25 19:10 ArpitaHanjagi

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days.

github-actions[bot] avatar Nov 26 '25 00:11 github-actions[bot]

This PR was closed because it has been stalled for 7 days with no activity.

github-actions[bot] avatar Dec 04 '25 00:12 github-actions[bot]