[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 583: sizeof(): Parameter must be an array or an object that implements Countable
[phpBB Debug] PHP Warning: in file [ROOT]/phpbb/session.php on line 639: sizeof(): Parameter must be an array or an object that implements Countable
Gephi forumsPlease post new questions on facebook group too (https://www.facebook.com/groups/gephi) 2017-11-10T12:32:02+01:00 https://forum-gephi.org/app.php/feed/topic/6314 2017-11-10T12:32:02+01:002017-11-10T12:32:02+01:00 https://forum-gephi.org/viewtopic.php?t=6314&p=14693#p14693 <![CDATA[Re: Ranking Number of Neighbours]]> Statistics:Posted by eduramiba — 10 Nov 2017 12:32


]]>
2017-11-10T12:14:38+01:002017-11-10T12:14:38+01:00 https://forum-gephi.org/viewtopic.php?t=6314&p=14692#p14692 <![CDATA[Re: Ranking Number of Neighbours]]>
Daily lesson: make sure you are running the latest version of the software. :)

Statistics:Posted by Tatteo — 10 Nov 2017 12:14


]]>
2017-11-08T14:51:17+01:002017-11-08T14:51:17+01:00 https://forum-gephi.org/viewtopic.php?t=6314&p=14687#p14687 <![CDATA[Re: Ranking Number of Neighbours]]> Statistics:Posted by eduramiba — 08 Nov 2017 14:51


]]>
2017-11-08T14:45:45+01:002017-11-08T14:45:45+01:00 https://forum-gephi.org/viewtopic.php?t=6314&p=14686#p14686 <![CDATA[Ranking Number of Neighbours]]>
Apologies if this question has already been asked. I have looked around, but cannot find any other instances.

I am having issues analysing a dataset. In the dataset I have some instances of multiple edges connecting the same two nodes. My problem, multiplied by a few thousand rows, is that I have something like:

A - B
B - A
A - C
C - B

What I would like to calculate is the number of neighbours that each node has.

I thought I could just calculate their degree, but this is influenced by the fact that some nodes are linked twice. So A's degree would be ranked 3 when it actually has 2 neighbours.

So my question is: is there a way to
a) rank nodes by number of neighbours instead of by degree
OR
b) merge duplicate edges with nodes in opposite order.

Thanks a lot!

Statistics:Posted by Tatteo — 08 Nov 2017 14:45


]]>