Professional Documents
Culture Documents
3 Lecture 11
3 Lecture 11
So the question we are looking at Between ness centrality is what are nodes that are present in shortest path
between two nodes.
Node V has very high Betweenness centrality if it present in shortest between
S and T. S and T can be all possible pairs in Graph
Question:
• The question is whether we can include node v as one of the nodes as
s or t.
• Case-1: When V is not included as s or t.
Case2: when v is included as one of the s or t
Top 5
Nodes
Problem with Between ness centrality:
Solution:
• Instead of looking all nodes we will look into some sample of nodes
• In networkX it can be done by taking k value as some samples node:
• Now we can see that node 9 and 3 are also important when communication with left group and right group.
Between ness centrality for an edge
• We define this in a similar fashion as for node.
• So This is exact same definition. But between all pairs of shortest paths
between node s and t we will try to find the edge e.
In network: Betweenness for edge
• So if we are seeing top 5 edges then they are connected to node 1.
Which is main instructor of karate club.(If you remember)
Set of source and targets:
• In the same way you can do the same thing if you want to get edge
between ness centrality between two groups of node rather than node
betweenness.