32
Centrality in networks

Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

  • Upload
    others

  • View
    1

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

Centrality in networks

Page 2: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

Why study networks?

Page 3: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

Why study networks?

Page 4: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

Why study networks?

❏Everything becomes connected

Increasing need for people able to understandnetworks as people are getting more connectedand IoT is booming.

Page 5: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

Why study networks?

❏Everything becomes connected

Increasing need for people able to understand networks as people are getting more connectedand IoT is booming.

❏Gives a competitive advantage

Best connected people get better rewardsin networks. More likes and comments in

Facebook, more retweets in Twitter

Page 6: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

Why study networks?

❏Everything becomes connected

Increasing need for people able to understand networks as people are getting more connectedand IoT is booming.

❏Gives a competitive advantage

Best connected people get better rewardsin networks. More likes and comments in

Facebook, more retweets in Twitter

Page 7: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

Why study networks?

❏Everything becomes connected

Increasing need for people able to understand networks as people are getting more connectedand IoT is booming.

❏Gives a competitive advantage

Best connected people get better rewardsin networks. More likes and comments in

Facebook, more retweets in TwitterNetwork of FB connections of an individual

Page 8: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

The Medici family

Page 9: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

Which concepts are important?

Page 10: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

Concept: Shortest Path

Page 11: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

Concept: Shortest Path

❏Fastest way to go from one node to another

Page 12: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

Concept: Shortest Path

❏Fastest way to go from one node to another

❏What are the shortest

paths between 1 and 4?

Page 13: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

Concept: Shortest Path

❏Fastest way to go from one node to another

❏What are the shortest

paths between 1 and 4?

(1, 4) → 1,2,4 / 1,6,4

Page 14: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

Concept: Shortest Path

❏Fastest way to go from one node to another

❏What are the shortest

paths between 1 and 4?

(1, 4) → 1,2,4 / 1,6,4

❏Why do you think it is important?

Page 15: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

Concept: Betweenness centrality

Page 16: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

Concept: Betweenness centrality

❏Average proportion of shortest paths a node lies on

Page 17: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

Concept: Betweenness centrality

❏Average proportion of shortest path a node lies on

❏What is the betweenness

centrality of node 2?

Page 18: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

Concept: Betweenness centrality

❏Average proportion of shortest path a node lies on

❏What is the betweenness

centrality of node 2?

-Pick two nodes: (1, 4)

Page 19: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

Concept: Betweenness centrality

❏Average proportion of shortest path a node lies on

❏What is the betweenness

centrality of node 2?

-Pick two nodes: (1, 4)

-Find shortest paths: 1,2,4 / 1,6,4

Page 20: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

Concept: Betweenness centrality

❏Average proportion of shortest path a node lies on

❏What is the betweenness

centrality of node 2?

-Pick two nodes: (1, 4)

-Find shortest paths: 1,2,4 / 1,6,4

-Count those where 2 is present:

1 out of 2 = 50%

Page 21: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

Concept: Betweenness centrality

❏Average proportion of shortest path a node lies on

❏What is the betweenness

centrality of node 2?

-Pick two nodes: (1, 4)

-Find shortest paths: 1,2,4 / 1,6,4

-Count those where 2 is present:

1 out of 2 = 50%

-Loop on all pairs, pick two other nodes...

Page 22: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

Concept: Betweenness centrality

❏Average proportion of shortest path a node lies on

❏What is the betweenness

centrality of node 2?

(1, 4) → 1,2,4 / 1,6,4 → 50%

(1, 5)

Page 23: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

Concept: Betweenness centrality

❏Average proportion of shortest path a node lies on

❏What is the betweenness

centrality of node 2?

(1, 4) → 1,2,4 / 1,6,4 → 50%

(1, 5) → 1,2,5

Page 24: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

Concept: Betweenness centrality

❏Average proportion of shortest path a node lies on

❏What is the betweenness

centrality of node 2?

(1, 4) → 1,2,4 / 1,6,4 → 50%

(1, 5) → 1,2,5 → 100%

Page 25: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

Concept: Betweenness centrality

❏Average proportion of shortest path a node lies on

❏What is the betweenness

centrality of node 2?

(1, 4) → 1,2,4 / 1,6,4 → 50%

(1, 5) → 1,2,5 → 100%

(7, 4)

Page 26: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

Concept: Betweenness centrality

❏Average proportion of shortest path a node lies on

❏What is the betweenness

centrality of node 2?

(1, 4) → 1,2,4 / 1,6,4 → 50%

(1, 5) → 1,2,5 → 100%

(7, 4) → 7,3,4

Page 27: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

Concept: Betweenness centrality

❏Average proportion of shortest path a node lies on

❏What is the betweenness

centrality of node 2?

(1, 4) → 1,2,4 / 1,6,4 → 50%

(1, 5) → 1,2,5 → 100%

(7, 4) → 7,3,4 → 0%

...

Page 28: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

Concept: Betweenness centrality

❏Average proportion of shortest path a node lies on

❏What is the betweenness

centrality of node 2?

In this example, 2 is on average

on 27.8% of the shortest paths

which is the highest betweenness

of the network.

❏Why do you think it is important?

Page 29: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

Time to play

Page 30: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

Time to play

❏Form two teams

❏The goal is to relatively have the highest betweenness centrality at the end, to

be the most influential player

❏At each round, you will choose an edge you want to create or destroy to

improve your centrality in the network

❏The network will initially be empty and other AI competitive players might also

try to become the most popular person in the network

Page 31: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

The two teams

Team 1 Team 2 Other players

Page 32: Centrality in networks - Columbia Universityac3827/CodesSlides/Centrality.pdf · 2017-06-14 · Time to play Form two teams The goal is to relatively have the highest betweenness

What to remember

❏ In small networks where you are the only active player, you can be greedy

❏ In real life, too many players want to achieve the same goal, best players form

alliances and you should too if you want to become popular