igraph-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [igraph] Modularity on the igraph_community_spinglass()


From: Tamás Nepusz
Subject: Re: [igraph] Modularity on the igraph_community_spinglass()
Date: Fri, 22 Mar 2013 21:27:37 +0100

> Is it correct? Is this the generalized Newman modularity for weigthed 
> networks? Can I trust it?
Well, try validating the modularity value with igraph_modularity() -- it also 
supports weights and it calculates the Newman modularity. So, feed your weight 
vector and the membership vector into igraph_modularity(), and if the result is 
the same as the one you got from igraph_community_spinglass(), then the result 
is probably correct. If not, well, that's worrying, so please file a bug report 
with a small graph that reproduces the issue so we can investigate it.

Best,
Tamas




reply via email to

[Prev in Thread] Current Thread [Next in Thread]