[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
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4516: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Gephi forums •All centrality measures showing either 0 or 1.
Page 1 of 1

All centrality measures showing either 0 or 1.

Posted: 23 Feb 2017 22:00
by joshisanonymous
I have a number of directed weighted random graphs and I can't seem to get any values other than 0 or 1 for any centrality measures. I get the same result whether I run the statistics on a graph with 15 nodes or a graph with 22,000 nodes. I also get the same results whether I run the statistics as directed or not and normalized or not. I know there's nothing wrong with my installation since these statistics are produced correctly when I run them on the Les Misérables network. Is there something I'm missing?

Re: All centrality measures showing either 0 or 1.

Posted: 23 Feb 2017 22:03
by eduramiba
Is any exception being shown (check lower right corner of the program)?

Re: All centrality measures showing either 0 or 1.

Posted: 23 Feb 2017 22:14
by joshisanonymous
eduramiba wrote:
23 Feb 2017 22:03
Is any exception being shown (check lower right corner of the program)?
None that I can find.

Re: All centrality measures showing either 0 or 1.

Posted: 01 Mar 2017 13:58
by Zapata
To be on the safe side: Did you check if the values are actually 0 and 1 or if it is just a question of number formatting? E.g., values could be shown as rounded to the next integer but actually have digits.

Re: All centrality measures showing either 0 or 1.

Posted: 01 Mar 2017 21:37
by joshisanonymous
Zapata wrote:
01 Mar 2017 13:58
To be on the safe side: Did you check if the values are actually 0 and 1 or if it is just a question of number formatting? E.g., values could be shown as rounded to the next integer but actually have digits.
Thanks for the reply. I double checked and the values for every node in the data laboratory are either 0 or 1 for eccentricity, closeness, harmonic closeness, and betweenness. To clarify my original post, degree measures, authority, PageRank, etc. return real values, but none of the centrality measures generated by running Network Diameter do.