Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

B symmetrization inside if statement in community_louvain #103

Open
erteich opened this issue Oct 8, 2021 · 0 comments
Open

B symmetrization inside if statement in community_louvain #103

erteich opened this issue Oct 8, 2021 · 0 comments

Comments

@erteich
Copy link

erteich commented Oct 8, 2021

Hello, I was using your community_louvain algorithm to cluster a directed network, but I noticed that you have the symmetrization of the B matrix inside an else statement such that the symmetrization does not usually occur. I was looking at the MATLAB BCT version of the code and I believe that there, the B matrix is always symmetrized, and is not inside any loops or if statements. I indeed resulted in two slightly different clusterings when using MATLAB vs. using your algorithm- can you shed light on if this is a bug in your code or in the BCT code, possibly? Thank you in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants