Professional Documents
Culture Documents
Centrality measures
Grau de Ciència de Dades | Escola Tècnica Superior d’Informàtica | Universitat Politècnica de València
Sources
●
Albert László Barabási: Network Science. Cambridge
University Press, 2016
– Follows almost section-by-section chapter 02
2/37
Contents
1. Degree centrality
2. Eigenvector centrality
3. Katz centrality
4. Page rank
5. Betweenness centrality
6. Closeness centrality
7. Centrality in weighted networks
It depends on which
centrality mesure
we look at
Througout this lesson we will talk about node centrality (as opposed
to edge centrality or network centrality)
DEGREE CENTRALITY
DEGREE CENTRALITY
Out-Degree In-degree
DEGREE CENTRALITY
• Citation network
• In-degree measures impact
• Out-degree measures reference size
• Disease propagation network
• In-degree (usually 1) measures source transmission
• Out-degree measures contagion size
DEGREE CENTRALITY
Limitations
Examples
• Citation networks
– Important papers receive high number of cites (awarded by
degree centrality)
– Receiving a cite from an important paper matters (awarded
by eigenvector centrality)
– The number of cites of a non-important paper (out-degree)
does not make that paper important (not awarded)
Solution
• Avoid any node to have zero centrality
(Katz centrality)
KATZ CENTRALITY
• In matrix terms
where 1 is the uniform vector (1,1,..,1)
Possible solution
Centrality of neighbors normalized by their out degree
(page rank centrality)
PAGE RANK CENTRALITY
• In matrix terms
PAGE RANK CENTRALITY (eigenvector-based measure)
Edge-betweenness of an edge (i,j) computes the number of paths passing through (i,j)
BETWEENNESS CENTRALITY
The Brandes algorithm efficiently computes the betweenness of each node of a network
Ulrich Brandes (2001). A faster algorithm for betweenness centrality. Journal of Mathematical Sociology. 25:163–177.
BETWEENNESS CENTRALITY
red is minimum
dark blue is maximum
Example:
Air travel routes between countries
Nodes: countries
Edges: more than 2 routes
CLOSENESS CENTRALITY
Closeness centrality:
Closeness Country
0.5737265415549598 United Arab Emirates
0.5846994535519126 Germany
0.5911602209944751 France
0.6028169014084508 United Kingdom
0.6079545454545455 United States
CENTRALITY IN WEIGHTED NETWORKS
Unweighted distance
Weighted distance
Questions:
Does betweenness of node 2 change using weights vs. not?
Does closeness of node 2 change using weights vs. not?
CENTRALITY IN WEIGHTED NETWORKS
• Eigenvector
• Katz
• PageRank
Eidsaa, Marius, and Eivind Almaas. "S-core network decomposition: A generalization of k-core analysis to weighted networks." Physical Review E 88.6 (2013): 062819
USEFUL INFORMATION
Advices
• Compute centrality measures within connected
components
• Use them as a ranking system for node importance,
relative values are difficult to understand
• Measures are context dependent, use the best one for
your problem
Networkx python package
• nx.betweenness_centrality
• nx.closeness_centrality
• nx.k_core
• nx.katz_centrality
• nx.eigenvector_centrality
• nx.pagerank