Confusion the way to calculate katz_centrality (with example)?

129 views
Skip to first unread message

SU

unread,
Sep 14, 2014, 5:28:21 PM9/14/14
to networkx...@googlegroups.com
Dear all, 

Nice day. Katz centrality is calculated by:


katz_centrality(G, alpha=0.1) api is described here. I calculated  the Katz centrality for the following example and got the result shown within the graph.


 But the result doesn't make sense. The Katz centrality of node Medici is 0.33 not 0.67. The following table shows the details how to calculate the Katz centrality of node Medici it.

Need your help me out. Thank you very much in advance.

Best regards,

SU 

SU

unread,
Sep 14, 2014, 5:39:56 PM9/14/14
to networkx...@googlegroups.com
A denotes adjacent matrix of a graph. Thus, (A^k)ij = a indicates that there exist a path(s) whose distance is k between node i and node j.  Am I right?

dichotamous

unread,
May 31, 2017, 11:47:10 AM5/31/17
to networkx-discuss
Hi ,
Can you please share the original paper from where this example has been taken?
Reply all
Reply to author
Forward
0 new messages