Hi All,
I was hoping that the communities generated from Modularity statistics could be same of similar if I click the button twice. However, with the same selections of "Randomize", "Use weights", and "Resolution", it first generated 56 communities, and then 79 communities...any idea?
Thanks,
YuLing
Running Modularity statistics on the same data set twice generates different numbers of communities?
- eduramiba
- Gephi Code Manager
- Posts:1064
- Joined:22 Mar 2010 15:30
- Location:Madrid, Spain [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: Running Modularity statistics on the same data set twice generates different numbers of communities?
Hi,
Modularity is non-deterministic, it depends on the randomization, which chooses what's the starting node. Try to disable it.
Modularity is non-deterministic, it depends on the randomization, which chooses what's the starting node. Try to disable it.
-
- Posts:1
- Joined:06 May 2018 21:30 [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: Running Modularity statistics on the same data set twice generates different numbers of communities?
I try to do that (disable random mode), but it's still generating different results.
Any idea?
Any idea?
- eduramiba
- Gephi Code Manager
- Posts:1064
- Joined:22 Mar 2010 15:30
- Location:Madrid, Spain [phpBB Debug] PHP Warning: in file [ROOT]/vendor/twig/twig/lib/Twig/Extension/Core.php on line 1275: count(): Parameter must be an array or an object that implements Countable
Re: Running Modularity statistics on the same data set twice generates different numbers of communities?
Hi,
Randomization makes the algorithm start in a random node or not. So, several runs in the same workspace should work the same.
But it's possible that due to the graph structure (graphstore) the first node in the graph might change if you load the same file several times.
Randomization makes the algorithm start in a random node or not. So, several runs in the same workspace should work the same.
But it's possible that due to the graph structure (graphstore) the first node in the graph might change if you load the same file several times.