Half Weight Indices Doubling Between Programs

Get help with your data
Post Reply [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
azmichelleg
Posts:1
Joined:03 Aug 2017 19:24
[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
Half Weight Indices Doubling Between Programs

Post by azmichelleg » 03 Aug 2017 19:28

I am trying to take a .graphml file that I created in socprog and upload it to Gephi. However, when I do so, the association index values change. For example, the bottom pictures is the association matrix created in socprog showing the half weight indices. When I upload the graphml file that I download straight from socprog, the top image is what I get for my weights. It seems that all of the indices are doubling (ie if it came up at 0.14 in socprog, after uploading to gephi, the weight is 0.28). However, all of the indices for the same individual (1 to 1, 4 to 4) are correct at 1 instead of doubling to 2.

Any help you can provide will be much appreciated. Thanks!
Attachments
Gephi Weights.png
SOCPROG associations.JPG

User avatar
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: Half Weight Indices Doubling Between Programs

Post by eduramiba » 03 Aug 2017 20:49

Hi,
Edges might be duplicated so their weights are summed.

User avatar
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: Half Weight Indices Doubling Between Programs

Post by eduramiba » 03 Aug 2017 20:49

Gephi 0.9.2 will let you choose what to do with duplicated edges during import report.

Post Reply
[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
[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