Social Network Analytics Session5 Betweenness
Social Network Analytics Session5 Betweenness
Degree Centrality
❑Centrality of the simplest kind.
❑In a sense, captures the popularity of a player within a network.
❑Quantifies the direct influence of a node on its local neighbourhood.
❑Particularly useful for marketing scenarios, wherein the detected
influential user can promote a product/service across her followers
❑The degree centrality 𝐶𝑑 𝑣 of a node 𝑣 in a network 𝐺(𝑉, 𝐸) is
defined as:
deg(𝑣)
𝐶𝑑 𝑣 =
𝑁−1
1 3 1 2/4 0.5
2 3/4 0.75
3 4/4 1
4 2/4 0.5
5 5 3/4 0.75
Find the degree centrality for all the nodes in the network?
Node Degree Centrality Standardized Score
6 1
1 2
4 3
3 4
5 5
6
2 7
7
Find the degree centrality for all the nodes in the network?
Node Degree Centrality Standardized Score
6 1 =1/6 0.167
1 2 =1/6 0.167
4 3 =3/6 0.5
3 4 =2/6 0.33
5 5 =3/6 0.5
6 =2/6 0.33
2 7 =2/6 0.33
7
Find the degree centrality for all the nodes in the network?
Node Degree Centrality Standardized Score
6 1 =1/6 0.16
1 2 =1/6 0.16
4 3 =3/6 0.5
3 4 =2/6 0.33
5 5 =3/6 0.5
6 =2/6 0.33
2 7 =2/6 0.33
7
Find the closeness centrality for all the nodes in the network?
Node Closeness Centrality
6 1
1 2
4 3
3 4
5 5
6
2 7
7
Find the closeness centrality for all the nodes in the network?
Node Closeness Centrality
1 7−1 6
6 𝐶 1 = = = 0.375
1 2 + 1 + 2 + 3 + 4 + 4 16
2 7−1 6
4 𝐶 2 = = = 0.375
2 + 1 + 2 + 3 + 4 + 4 16
3 3
𝐶 3 =
7−1
=
6
= 0. 545
5 1 + 1 + 1 + 2 + 3 + 3 11
4
5
2
7
The closeness centrality 𝐶(𝑣) of a node 𝑣 in a network 𝐺(𝑉, 𝐸) is defined as
𝑉 −1
𝐶 𝑣 =
σ𝑢∈𝑉∖{𝑣} 𝑑(𝑢, 𝑣)
Where 𝑑(𝑢, 𝑣) denotes the distance of node 𝑢 from node 𝑣
06-11-2024 Presented by Dr. Purva Grover 8
Social Network Analytics – Session 5
Find the closeness centrality for all the nodes in the network?
Node Closeness Centrality
1 7−1 6
6 𝐶 1 = = = 0.375
1 2 + 1 + 2 + 3 + 4 + 4 16
2 7−1 6
4 𝐶 2 = = = 0.375
2 + 1 + 2 + 3 + 4 + 4 16
3 3
𝐶 3 =
7−1
=
6
= 0. 545
5 1 + 1 + 1 + 2 + 3 + 3 11
4 7−1 6
𝐶 4 = = = 0. 600
2 + 2 + 1 + 1 + 2 + 2 10
2 5 7−1 6
7 𝐶 5 = =
3 + 3 + 2 + 1 + 1 + 1 11
= 0. 545
6 7−1 6
𝐶 6 = = = 0. 400
4 + 4 + 3 + 2 + 1 + 1 15
7 7−1 6
𝐶 7 = = = 0. 400
4 + 4 + 3 + 2 + 1 + 1 15
Find the closeness centrality for all the nodes in the network?
Node Closeness Centrality
1 7−1 6
6 𝐶 1 = = = 0.375
1 2 + 1 + 2 + 3 + 4 + 4 16
2 7−1 6
4 𝐶 2 = = = 0.375
2 + 1 + 2 + 3 + 4 + 4 16
3 3
𝐶 3 =
7−1
=
6
= 0. 545
5 1 + 1 + 1 + 2 + 3 + 3 11
4 7−1 6
𝐶 4 = = = 0. 600
2 + 2 + 1 + 1 + 2 + 2 10
2 5 7−1 6
7 𝐶 5 = =
3 + 3 + 2 + 1 + 1 + 1 11
= 0. 545
6 7−1 6
𝐶 6 = = = 0. 400
4 + 4 + 3 + 2 + 1 + 1 15
7 7−1 6
𝐶 7 = = = 0. 400
4 + 4 + 3 + 2 + 1 + 1 15
Betweenness Centrality
❑A measure to compute how central a node is in between
paths of the network
❑A measure to compute how many (shortest) paths of the
network pass through the node
❑Useful in identifying
❑The articulation points, i.e., the points in a network
which, if removed, may disconnect the network
❑The super spreaders in analyzing disease spreading in
epidemiology
❑The suspected spies in security networks
06-11-2024 Presented by Dr. Purva Grover 11
Social Network Analytics – Session 5
1 3
1 3
We will also not calculate the distance of the node from previous node because we
have already calculated it.
Node 1 Node 2
From To From To
1 1 2 1
1 2 2 2
1 3 2 3
1 4 2 4
1 5 2 5
We will also not calculate the distance of the node from previous node because we
have already calculated it.
Node 1 Node 2 Node 3 Node 4 Node 5
From To From To From To From To From To
1 1 2 1 3 1 4 1 5 1
1 2 2 2 3 2 4 2 5 2
1 3 2 3 3 3 4 3 5 3
1 4 2 4 3 4 4 4 5 4
1 5 2 5 3 5 4 5 5 5
1 2 3 4 5
0 0.5 2 0 0.5
Find the betweenness centrality for all the nodes in the network?
Node Betweenness Standardized Score
Centrality
6
1 1
4 2
3
3
5 4
5
2 6
7 7
2
7
We will also not calculate the distance of the node from previous node because we
have already calculated it.
Node 1 Node 2 Node 3 Node 4 Node 5 Node 6 Node 7
From To From To From To From To From To From To From To
1 1 2 1 3 1 4 1 5 1 6 1 7 1
1 2 2 2 3 2 4 2 5 2 6 2 7 2
1 3 2 3 3 3 4 3 5 3 6 3 7 3
1 4 2 4 3 4 4 4 5 4 6 4 7 4
1 5 2 5 3 5 4 5 5 5 6 5 7 5
1 6 2 6 3 6 4 6 5 6 6 6 7 6
1 7 2 7 3 7 4 7 5 7 6 7 7 7
2
7
3 4 (3,4) 0 0 0 0 0 0 0
3 5 (3,4,5) 0 0 0 1 0 0 0
3 6 (3,4,5,6) 0 0 0 1 1 0 0
1 2 3 4 5 6 7
0 0 9 9 8 0 0
Find the degree centrality for all the nodes in the network?
Node Degree Centrality Standardized Score
1
2
3
4
5
6
7
8
9
10
Find the closeness centrality for all the nodes in the network?
Node Closeness Centrality
1
2
3
4
5
6
7
8
9
10
Find the betweenness centrality for all the nodes in the network?
Node Betweenness Centrality
1
2
3
4
5
6
7
8
9
10
Thank you