Lecture 6 - Network Centrality
Lecture 6 - Network Centrality
Network
Centrality
Lecturer: Dr. Reem Essameldin Ebrahim
Introduction to Social
Based on CS224W Analysis of Networks Mining and Learning with Graphs: Stanford University
Copyright © Dr. Reem Essameldin 2023-2024
Why/What is Network Centrality?
Examples:
Degree Centrality (who you are connected to)
Betweenness Centrality (how you connect others)
Closeness Centrality (how fast you can reach others)
Eigenvector Centrality (who you are connected to)
PageRank Centrality
Degree centrality is the simplest measure of node connectivity. It tells how many
direct connections to other nodes. It can be used for finding very connected
individuals, popular individuals, individuals who are likely to hold most
Centrality Measures
information or individuals who can quickly connect with the wider network.
Degree centrality is the simplest measure of node connectivity. It tells how many
direct connections to other nodes. It can be used for finding very connected
individuals, popular individuals, individuals who are likely to hold most
Centrality Measures
information or individuals who can quickly connect with the wider network.
Solution:
1
0 2
6 7
Solution:
1
0 2
6 7
Solution:
? ?
? ? ?
? ?
Solution:
2
= 0.33
7−1
? ? .3 .3
? ? ? .5 .3 .5
? 3 ? .3 .3
= 0.5
7−1
𝐶𝑒 𝑣𝑖 = 𝐴𝑗,𝑖 𝐶𝑒 𝑣𝑗
𝑗=1
1 2 3
B
D E
𝐶𝑏 𝑣𝑖 = 1 = (𝑛 − 1)(𝑛 − 2)
𝑠≠𝑡≠𝑣
Solution:
E D
B C
Solution:
First, find the shortest path from each node to every node
E D and intermediate node in that path.
B C
Solution:
From Table, node A is not an intermediate node in any
E D path. Thus, the betweenness centrality of node A is 0.
𝐶𝑏 𝐴 = 0
B C
Solution:
E D
B C
Closeness centrality scores each node based on their ‘closeness’ to all other
nodes in the network. It is used for finding the individuals who are best placed to
influence the entire network most quickly(i.e. help find good ‘broadcasters’).
Centrality Measures
What may be more useful is using closeness to find influencers in a single cluster.
The intuition is that influential and central nodes can quickly reach other nodes.
These nodes should have a smaller average shortest path length to other nodes.
It depends on inverse distance to other vertices.
Centrality Measures
𝐶𝑐 𝑖 = [ 𝑑(𝑖, 𝑗)]−1
𝑗=1
Solution:
A B C D E
Solution:
′ σ𝑁
𝑗=1 𝑑(𝐴,𝑗)
1 + 2 + 3 + 4 −1
𝐶𝑐 𝐴 = [ ] −1 = [ ] = 0.4
𝑁−1 4