Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Why there is factor 1 for all weights of edges in induced_subgraph (phase 2 of louvain)? #101

Copy link
Copy link

Description

@alexbarev
Issue body actions

Citing from Fast unfolding of communities in large networks, Blondel et al., 2008:

The second phase of the algorithm consists in building a new network whose nodes are now the communities
found during the first phase. 
To do so, the weights of the links between the new nodes are given by the sum of the weight of the links
between nodes in the corresponding two communities [21]. 
Links between nodes of the same community lead to self-loops for this community in the new network.

In the paper it's clear from Figure 1, that inner edges of the same community are counted with factor 1 for self-loops and factor 2 for other cases.

Why is there factor 1 for all weights of edges in induced_graph?

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.