SlideShare uma empresa Scribd logo
1 de 62
Baixar para ler offline
Social and Economic
Network Analysis
UNIT – II
NETWORK DYNAMICS
Overview
Network Models
Link Analysis
20-04-2021 VANI KANDHASAMY, PSGTECH 2
Facebook
Ego networks
# nodes: 4039
# edges: 88234
Average degree: 43.691
Diameter (longest shortest path): 8
Average Path length: 3.6925
Average clustering coefficient: 0.6055
20-04-2021 VANI KANDHASAMY, PSGTECH 3
https://snap.stanford.edu/data/#socnets
Facebook
Degree Distribution – Power law
(Skewed)
Size of Giant component - 4039
20-04-2021 VANI KANDHASAMY, PSGTECH 4
Hubs / Celebrity / Influencer
Key Network Measures –Real World
Network
Measure Description
Degree Distribution Power Law (Few Hubs)
Clustering Coefficient High
Average Path Length Small
Connectivity / Size of Giant component Large
20-04-2021 VANI KANDHASAMY, PSGTECH 5
Network Models
NETWORKS, CROWDS AND MARKETS - CHAPTER 18, 20
20-04-2021 VANI KANDHASAMY, PSGTECH 6
Why model?
•Definition: a miniature representation of real thing
•Simple representation of complex network
•Can derive properties mathematically
•Predict properties and outcomes
20-04-2021 VANI KANDHASAMY, PSGTECH 7
Summary
20-04-2021 VANI KANDHASAMY, PSGTECH 8
20-04-2021 VANI KANDHASAMY, PSGTECH 9
Erdös-Renyi / Random model
•Assumptions
• nodes connect at random
• network is undirected
•Key parameter (besides number of nodes N) : p or M
• p = probability that any two nodes share and edge (Gnp)
• M = total number of edges in the graph (Gnm)
20-04-2021 VANI KANDHASAMY, PSGTECH 10
Erdös-Renyi model
20-04-2021 VANI KANDHASAMY, PSGTECH 11
Key Network Measures – Erdös-Renyi
model
Measure Description
Degree Distribution ?
Clustering Coefficient ?
Average Path Length ?
Connectivity / Size of Giant component ?
20-04-2021 VANI KANDHASAMY, PSGTECH 12
Degree distribution
•Gnp-model: For each potential
edge we flip a coin
with probability p we add the edge
with probability (1-p) we don’t
•Degree distribution of Gnp is
binomial
20-04-2021 VANI KANDHASAMY, PSGTECH 13
Degree distribution
Avg. Degree:
20-04-2021 VANI KANDHASAMY, PSGTECH 14
Clustering Coefficient
𝐶𝑖 =
# 𝑝𝑎𝑖𝑟𝑠 𝑜𝑓 𝑖′𝑠 𝑓𝑟𝑖𝑒𝑛𝑑𝑠 𝑤ℎ𝑜 𝑎𝑟𝑒 𝑓𝑟𝑖𝑒𝑛𝑑𝑠
# 𝑝𝑎𝑖𝑟𝑠 𝑜𝑓 𝑖′𝑠 𝑓𝑟𝑖𝑒𝑛𝑑𝑠
ei is the number of edges between
i’s friends
ki is the number of i’s friends /
degree of i
20-04-2021 VANI KANDHASAMY, PSGTECH 16
Clustering Coefficient
Number of distinct pairs of
friends of node i of degree ki
20-04-2021 VANI KANDHASAMY, PSGTECH 17
Avg. Path Length
log-log plot
Avg. Path Length ~ O(log n)
20-04-2021 VANI KANDHASAMY, PSGTECH 18
Giant Component
Graph structure of Gnp as p (density) changes
20-04-2021 VANI KANDHASAMY, PSGTECH 19
Giant Component
ത
𝑘=1-ε -> all components are of
size Ω(log n)
ത
𝑘 =1+ε -> 1 component of size
Ω(n), others have size
Ω(log n)
20-04-2021 VANI KANDHASAMY, PSGTECH 20
Key Network Measures – Erdös-Renyi
model
Measures Description
Degree Distribution Binomial
Clustering Coefficient C = p = ҧ
𝐤 / n
Average Path Length O(log n)
Connectivity / Size of Giant component GCC exists
when ҧ
𝐤 >1
20-04-2021 VANI KANDHASAMY, PSGTECH 21
Real world network vs. Random Network
Parameters Facebook Gnp Match
Degree Distribution
Clustering Coefficient 0.6055 0.01
Average Path Length 3.6925 2.654
Connectivity / Size of
Giant component
4039 4039 (ത
k = 20.09)
20-04-2021 VANI KANDHASAMY, PSGTECH 22
Summary: Erdös-Renyi model
Giant connected component
Average path length
Clustering Coefficient – no local structure
Degree Distribution – absence of hubs
20-04-2021 VANI KANDHASAMY, PSGTECH 23
20-04-2021 VANI KANDHASAMY, PSGTECH 24
Small World Phenomenon - Milgram’s
experiment
NE
MA
20-04-2021 VANI KANDHASAMY, PSGTECH 25
Small World Phenomenon - Milgram’s
experiment
Six degrees of separation
Assume each human is connected to 100 other
people then:
Step 1: reach 100 people
Step 2: reach 100*100 = 10,000 people
Step 3: reach 100*100*100 = 1,000,000 people
Step 4: reach 100*100*100*100 = 100M people
In 5 steps we can reach 10 billion people
20-04-2021 VANI KANDHASAMY, PSGTECH 26
Small World Phenomenon
20-04-2021 VANI KANDHASAMY, PSGTECH 27
Small World Phenomenon
20-04-2021 VANI KANDHASAMY, PSGTECH 28
Network Models
20-04-2021 VANI KANDHASAMY, PSGTECH 29
high clustering
low average shortest path
Small world phenomenon
)
ln(
network N
l 
graph
random
network C
C 
Clustering implies edge “locality”
Randomness enables “short paths”
20-04-2021 VANI KANDHASAMY, PSGTECH 31
Watts-Strogatz / Small World model
Two components to the model:
1. Start with a regular lattice (High CC)
2. Rewire: (Low APL)
◦ Add edges to reach remote parts of the lattice
◦ For each edge with prob. p move the other end to a random node
20-04-2021 VANI KANDHASAMY, PSGTECH 32
Select a fraction p of edges
Reposition one of their endpoints
Add a fraction p of additional
edges leaving underlying lattice
intact
Watts-Strogatz / Small World model
20-04-2021 VANI KANDHASAMY, PSGTECH 33
20-04-2021 VANI KANDHASAMY, PSGTECH 34
1% of links rewired 10% of links rewired
20-04-2021 VANI KANDHASAMY, PSGTECH 35
Summary: Watts-Strogatz model
Giant connected component
Average path length
Clustering Coefficient
Degree Distribution – absence of hubs
20-04-2021 VANI KANDHASAMY, PSGTECH 36
20-04-2021 VANI KANDHASAMY, PSGTECH 37
Poisson distribution
20-04-2021 VANI KANDHASAMY, PSGTECH 38
Power Law distribution
20-04-2021 VANI KANDHASAMY, PSGTECH 39
Power law distribution
Straight line on a log-log plot
Exponentiate both sides to get that p(k),
normalization
constant (probabilities
over all x must sum to 1) power law exponent a
20-04-2021 VANI KANDHASAMY, PSGTECH 40
Generating Power Law Networks
▪Ingredient # 1: growth over time
nodes appear one by one, each selecting m other nodes at
random to connect to
▪Ingredient # 2: preferential attachment
new nodes prefer to attach to well-connected nodes over less-
well connected nodes
20-04-2021 VANI KANDHASAMY, PSGTECH 41
Ingredient # 1: growth over time
•one node is born at each time tick
•at time t there are t nodes
•change in degree ki of node i (born at time i, with 0 < i < t)
20-04-2021 VANI KANDHASAMY, PSGTECH 42
Ingredient # 1: growth over time
•How many new edges does a node accumulate since it's birth at
time i until time t?
20-04-2021 VANI KANDHASAMY, PSGTECH 43
20-04-2021 VANI KANDHASAMY, PSGTECH 44
Degree distribution
•Let τ(100) be the time at which node with degree e.g. 100 is born
•Then the fraction of nodes that have degree <= 100 is (t – τ)/t
20-04-2021 VANI KANDHASAMY, PSGTECH 45
Ingredient # 2: preferential attachment
•Rich-get-richer phenomenon
•Cumulative advantage
20-04-2021 VANI KANDHASAMY, PSGTECH 46
Barabasi-Albert model
•the process starts with some initial subgraph
•each new node comes in with m edges
•probability of connecting to node i
20-04-2021 VANI KANDHASAMY, PSGTECH 47
To start, each vertex has an equal
number of edges (2)
◦ the probability of choosing any
vertex is 1/3
We add a new vertex, and it will
have m edges, here take m=2
◦ draw 2 random elements from the
array – suppose they are 2 and 3
Now the probabilities of selecting
1,2,3,or 4 are 1/5, 3/10, 3/10, 1/5
20-04-2021 VANI KANDHASAMY, PSGTECH 48
Properties of the BA graph
•The degree distribution is scale free with exponent α = 3
P(k) = 2 m2/k3
•The graph is connected
oEvery vertex is born with a link (m ≥ 1)
oIt connects to older vertices, which are part of the giant component
•The older are richer
oNodes accumulate links as time goes on
oPreferential attachment will prefer wealthier nodes
20-04-2021 VANI KANDHASAMY, PSGTECH 49
vertex introduced at time t=5
vertex introduced at time t=95
Barabasi-Albert
model
Age of node -> Degree of node
Degree of node -> Popularity of
node
20-04-2021 VANI KANDHASAMY, PSGTECH 50
Summary: Barabasi-Albert model
Giant connected component
Average path length
Degree Distribution
Clustering Coefficient – no local structure
20-04-2021 VANI KANDHASAMY, PSGTECH 51
20-04-2021 VANI KANDHASAMY, PSGTECH 52
Decentralized Search
A GREEDY APPROACH
20-04-2021 VANI KANDHASAMY, PSGTECH 53
How to navigate a network?
20-04-2021 VANI KANDHASAMY, PSGTECH 54
Decentralized Search
▪Source s only knows locations of its friends and location of the Target t
▪s does not know links of anyone else but itself
▪Geographic Navigation: s “navigates” to a node geographically closest to t
20-04-2021 VANI KANDHASAMY, PSGTECH 55
Decentralized Search
ERDOS-RENYI MODEL WATTS-STROGATZ
20-04-2021 VANI KANDHASAMY, PSGTECH 56
Search time T
Kleinberg’s Model
▪Nodes still on a grid and connect to nearest neighbors
▪Additional links placed with
20-04-2021 VANI KANDHASAMY, PSGTECH 57
Kleinberg’s Model
20-04-2021 VANI KANDHASAMY, PSGTECH 58
Netlogo: DEMO
Kleinberg’s Model (α ≠ 2)
20-04-2021 VANI KANDHASAMY, PSGTECH 59
Kleinberg’s Model (α = 2)
20-04-2021 VANI KANDHASAMY, PSGTECH 60
Kleinberg’s Model
20-04-2021 VANI KANDHASAMY, PSGTECH 61
Diffusion in Networks
SIMPLE CONTAGION
20-04-2021 VANI KANDHASAMY, PSGTECH 62
20-04-2021 VANI KANDHASAMY, PSGTECH 63
Simple contagion
Random
• Density
• Netlogo:Demo
Scale
free
• Preferential
attachment
• Netlogo:Demo
Small
world
• Rewiring
probability
• Netlogo:Demo
20-04-2021 VANI KANDHASAMY, PSGTECH 64

Mais conteúdo relacionado

Semelhante a Network Models

Interpretability of Convolutional Neural Networks - Eva Mohedano - UPC Barcel...
Interpretability of Convolutional Neural Networks - Eva Mohedano - UPC Barcel...Interpretability of Convolutional Neural Networks - Eva Mohedano - UPC Barcel...
Interpretability of Convolutional Neural Networks - Eva Mohedano - UPC Barcel...Universitat Politècnica de Catalunya
 
CMOS VLSI PROJECT || CMOS 3-Bit Binary to Square of the given Input || MULTIP...
CMOS VLSI PROJECT || CMOS 3-Bit Binary to Square of the given Input || MULTIP...CMOS VLSI PROJECT || CMOS 3-Bit Binary to Square of the given Input || MULTIP...
CMOS VLSI PROJECT || CMOS 3-Bit Binary to Square of the given Input || MULTIP...rameshreddybattini
 
Optical Network Infrastructure for Grid, Draft-ggf-ghpn-opticalnets-1
Optical Network Infrastructure for Grid, Draft-ggf-ghpn-opticalnets-1Optical Network Infrastructure for Grid, Draft-ggf-ghpn-opticalnets-1
Optical Network Infrastructure for Grid, Draft-ggf-ghpn-opticalnets-1Tal Lavian Ph.D.
 
A NEW ALGORITHM FOR CONSTRUCTION OF A P2P MULTICAST HYBRID OVERLAY TREE BASED...
A NEW ALGORITHM FOR CONSTRUCTION OF A P2P MULTICAST HYBRID OVERLAY TREE BASED...A NEW ALGORITHM FOR CONSTRUCTION OF A P2P MULTICAST HYBRID OVERLAY TREE BASED...
A NEW ALGORITHM FOR CONSTRUCTION OF A P2P MULTICAST HYBRID OVERLAY TREE BASED...cscpconf
 
A NEW ALGORITHM FOR CONSTRUCTION OF A P2P MULTICAST HYBRID OVERLAY TREE BASED...
A NEW ALGORITHM FOR CONSTRUCTION OF A P2P MULTICAST HYBRID OVERLAY TREE BASED...A NEW ALGORITHM FOR CONSTRUCTION OF A P2P MULTICAST HYBRID OVERLAY TREE BASED...
A NEW ALGORITHM FOR CONSTRUCTION OF A P2P MULTICAST HYBRID OVERLAY TREE BASED...csandit
 
IRJET- Energy Efficiency and Security based Multihop Heterogeneous Trusted Th...
IRJET- Energy Efficiency and Security based Multihop Heterogeneous Trusted Th...IRJET- Energy Efficiency and Security based Multihop Heterogeneous Trusted Th...
IRJET- Energy Efficiency and Security based Multihop Heterogeneous Trusted Th...IRJET Journal
 
ARP_L2-3a_Redundancia-LAN-STP_v2_20201127.pdf
ARP_L2-3a_Redundancia-LAN-STP_v2_20201127.pdfARP_L2-3a_Redundancia-LAN-STP_v2_20201127.pdf
ARP_L2-3a_Redundancia-LAN-STP_v2_20201127.pdfanonymus45
 
2019 IML workshop: A hybrid deep learning approach to vertexing
2019 IML workshop: A hybrid deep learning approach to vertexing2019 IML workshop: A hybrid deep learning approach to vertexing
2019 IML workshop: A hybrid deep learning approach to vertexingHenry Schreiner
 
G03202048050
G03202048050G03202048050
G03202048050theijes
 
Performance Analysis and Comparison of Routing Protocols in Wireless Sensor N...
Performance Analysis and Comparison of Routing Protocols in Wireless Sensor N...Performance Analysis and Comparison of Routing Protocols in Wireless Sensor N...
Performance Analysis and Comparison of Routing Protocols in Wireless Sensor N...IRJET Journal
 
An alternative Routing Mechanisms for Mobile Ad-hoc NetworksPresentation2
An alternative Routing Mechanisms for Mobile Ad-hoc NetworksPresentation2An alternative Routing Mechanisms for Mobile Ad-hoc NetworksPresentation2
An alternative Routing Mechanisms for Mobile Ad-hoc NetworksPresentation2Aws Ali
 
Evaluating content-centric communication over power line communication infras...
Evaluating content-centric communication over power line communication infras...Evaluating content-centric communication over power line communication infras...
Evaluating content-centric communication over power line communication infras...Khaled Ben Driss
 
H030102052055
H030102052055H030102052055
H030102052055theijes
 
Recent developments in Deep Learning
Recent developments in Deep LearningRecent developments in Deep Learning
Recent developments in Deep LearningBrahim HAMADICHAREF
 
Impact of Electric Vehicle Integration on Grid
Impact of Electric Vehicle Integration on GridImpact of Electric Vehicle Integration on Grid
Impact of Electric Vehicle Integration on Gridvivatechijri
 
An Efficient Cluster Tree Based Data Collection Scheme for Large Mobile With ...
An Efficient Cluster Tree Based Data Collection Scheme for Large Mobile With ...An Efficient Cluster Tree Based Data Collection Scheme for Large Mobile With ...
An Efficient Cluster Tree Based Data Collection Scheme for Large Mobile With ...kavitha.s kavi
 
ECET 375 Effective Communication/tutorialrank.com
 ECET 375 Effective Communication/tutorialrank.com ECET 375 Effective Communication/tutorialrank.com
ECET 375 Effective Communication/tutorialrank.comjonhson203
 
AN IMPROVED ROUTING PROTOCOL SCHEME IN ADHOC NETWORKS
AN IMPROVED ROUTING PROTOCOL SCHEME IN ADHOC NETWORKSAN IMPROVED ROUTING PROTOCOL SCHEME IN ADHOC NETWORKS
AN IMPROVED ROUTING PROTOCOL SCHEME IN ADHOC NETWORKSIAEME Publication
 

Semelhante a Network Models (20)

Interpretability of Convolutional Neural Networks - Eva Mohedano - UPC Barcel...
Interpretability of Convolutional Neural Networks - Eva Mohedano - UPC Barcel...Interpretability of Convolutional Neural Networks - Eva Mohedano - UPC Barcel...
Interpretability of Convolutional Neural Networks - Eva Mohedano - UPC Barcel...
 
CMOS VLSI PROJECT || CMOS 3-Bit Binary to Square of the given Input || MULTIP...
CMOS VLSI PROJECT || CMOS 3-Bit Binary to Square of the given Input || MULTIP...CMOS VLSI PROJECT || CMOS 3-Bit Binary to Square of the given Input || MULTIP...
CMOS VLSI PROJECT || CMOS 3-Bit Binary to Square of the given Input || MULTIP...
 
Optical Network Infrastructure for Grid, Draft-ggf-ghpn-opticalnets-1
Optical Network Infrastructure for Grid, Draft-ggf-ghpn-opticalnets-1Optical Network Infrastructure for Grid, Draft-ggf-ghpn-opticalnets-1
Optical Network Infrastructure for Grid, Draft-ggf-ghpn-opticalnets-1
 
A NEW ALGORITHM FOR CONSTRUCTION OF A P2P MULTICAST HYBRID OVERLAY TREE BASED...
A NEW ALGORITHM FOR CONSTRUCTION OF A P2P MULTICAST HYBRID OVERLAY TREE BASED...A NEW ALGORITHM FOR CONSTRUCTION OF A P2P MULTICAST HYBRID OVERLAY TREE BASED...
A NEW ALGORITHM FOR CONSTRUCTION OF A P2P MULTICAST HYBRID OVERLAY TREE BASED...
 
A NEW ALGORITHM FOR CONSTRUCTION OF A P2P MULTICAST HYBRID OVERLAY TREE BASED...
A NEW ALGORITHM FOR CONSTRUCTION OF A P2P MULTICAST HYBRID OVERLAY TREE BASED...A NEW ALGORITHM FOR CONSTRUCTION OF A P2P MULTICAST HYBRID OVERLAY TREE BASED...
A NEW ALGORITHM FOR CONSTRUCTION OF A P2P MULTICAST HYBRID OVERLAY TREE BASED...
 
Enhancing Power Unbiased Cooperative Media Access Control Protocol in Manets
Enhancing Power Unbiased Cooperative Media Access Control Protocol in ManetsEnhancing Power Unbiased Cooperative Media Access Control Protocol in Manets
Enhancing Power Unbiased Cooperative Media Access Control Protocol in Manets
 
B04020812
B04020812B04020812
B04020812
 
IRJET- Energy Efficiency and Security based Multihop Heterogeneous Trusted Th...
IRJET- Energy Efficiency and Security based Multihop Heterogeneous Trusted Th...IRJET- Energy Efficiency and Security based Multihop Heterogeneous Trusted Th...
IRJET- Energy Efficiency and Security based Multihop Heterogeneous Trusted Th...
 
ARP_L2-3a_Redundancia-LAN-STP_v2_20201127.pdf
ARP_L2-3a_Redundancia-LAN-STP_v2_20201127.pdfARP_L2-3a_Redundancia-LAN-STP_v2_20201127.pdf
ARP_L2-3a_Redundancia-LAN-STP_v2_20201127.pdf
 
2019 IML workshop: A hybrid deep learning approach to vertexing
2019 IML workshop: A hybrid deep learning approach to vertexing2019 IML workshop: A hybrid deep learning approach to vertexing
2019 IML workshop: A hybrid deep learning approach to vertexing
 
G03202048050
G03202048050G03202048050
G03202048050
 
Performance Analysis and Comparison of Routing Protocols in Wireless Sensor N...
Performance Analysis and Comparison of Routing Protocols in Wireless Sensor N...Performance Analysis and Comparison of Routing Protocols in Wireless Sensor N...
Performance Analysis and Comparison of Routing Protocols in Wireless Sensor N...
 
An alternative Routing Mechanisms for Mobile Ad-hoc NetworksPresentation2
An alternative Routing Mechanisms for Mobile Ad-hoc NetworksPresentation2An alternative Routing Mechanisms for Mobile Ad-hoc NetworksPresentation2
An alternative Routing Mechanisms for Mobile Ad-hoc NetworksPresentation2
 
Evaluating content-centric communication over power line communication infras...
Evaluating content-centric communication over power line communication infras...Evaluating content-centric communication over power line communication infras...
Evaluating content-centric communication over power line communication infras...
 
H030102052055
H030102052055H030102052055
H030102052055
 
Recent developments in Deep Learning
Recent developments in Deep LearningRecent developments in Deep Learning
Recent developments in Deep Learning
 
Impact of Electric Vehicle Integration on Grid
Impact of Electric Vehicle Integration on GridImpact of Electric Vehicle Integration on Grid
Impact of Electric Vehicle Integration on Grid
 
An Efficient Cluster Tree Based Data Collection Scheme for Large Mobile With ...
An Efficient Cluster Tree Based Data Collection Scheme for Large Mobile With ...An Efficient Cluster Tree Based Data Collection Scheme for Large Mobile With ...
An Efficient Cluster Tree Based Data Collection Scheme for Large Mobile With ...
 
ECET 375 Effective Communication/tutorialrank.com
 ECET 375 Effective Communication/tutorialrank.com ECET 375 Effective Communication/tutorialrank.com
ECET 375 Effective Communication/tutorialrank.com
 
AN IMPROVED ROUTING PROTOCOL SCHEME IN ADHOC NETWORKS
AN IMPROVED ROUTING PROTOCOL SCHEME IN ADHOC NETWORKSAN IMPROVED ROUTING PROTOCOL SCHEME IN ADHOC NETWORKS
AN IMPROVED ROUTING PROTOCOL SCHEME IN ADHOC NETWORKS
 

Mais de Vani Kandhasamy

Mais de Vani Kandhasamy (9)

Java Basics - Part2
Java Basics - Part2Java Basics - Part2
Java Basics - Part2
 
Java Basics - Part1
Java Basics - Part1Java Basics - Part1
Java Basics - Part1
 
Introduction to OOP
Introduction to OOPIntroduction to OOP
Introduction to OOP
 
Economic network analysis - Part 2
Economic network analysis - Part 2Economic network analysis - Part 2
Economic network analysis - Part 2
 
Economic network analysis - Part 1
Economic network analysis - Part 1Economic network analysis - Part 1
Economic network analysis - Part 1
 
Cascading behavior in the networks
Cascading behavior in the networksCascading behavior in the networks
Cascading behavior in the networks
 
Community detection-Part2
Community detection-Part2Community detection-Part2
Community detection-Part2
 
Link Analysis
Link AnalysisLink Analysis
Link Analysis
 
Cache optimization
Cache optimizationCache optimization
Cache optimization
 

Último

April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysismanisha194592
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightDelhi Call girls
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAroojKhan71
 
Zuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxZuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxolyaivanovalion
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionfulawalesam
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceDelhi Call girls
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxolyaivanovalion
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusTimothy Spann
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...SUHANI PANDEY
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxolyaivanovalion
 
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfadriantubila
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...amitlee9823
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFxolyaivanovalion
 
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...shivangimorya083
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxJohnnyPlasten
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Delhi Call girls
 

Último (20)

April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 nightCheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
Cheap Rate Call girls Sarita Vihar Delhi 9205541914 shot 1500 night
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
 
Zuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxZuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptx
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
BabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptxBabyOno dropshipping via API with DroFx.pptx
BabyOno dropshipping via API with DroFx.pptx
 
Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
 
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get CytotecAbortion pills in Doha Qatar (+966572737505 ! Get Cytotec
Abortion pills in Doha Qatar (+966572737505 ! Get Cytotec
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptx
 
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts ServiceCall Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
Call Girls In Shalimar Bagh ( Delhi) 9953330565 Escorts Service
 
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdfAccredited-Transport-Cooperatives-Jan-2021-Web.pdf
Accredited-Transport-Cooperatives-Jan-2021-Web.pdf
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
 
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
(NEHA) Call Girls Katra Call Now 8617697112 Katra Escorts 24x7
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
 
Log Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptxLog Analysis using OSSEC sasoasasasas.pptx
Log Analysis using OSSEC sasoasasasas.pptx
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 

Network Models

  • 1. Social and Economic Network Analysis UNIT – II NETWORK DYNAMICS
  • 3. Facebook Ego networks # nodes: 4039 # edges: 88234 Average degree: 43.691 Diameter (longest shortest path): 8 Average Path length: 3.6925 Average clustering coefficient: 0.6055 20-04-2021 VANI KANDHASAMY, PSGTECH 3 https://snap.stanford.edu/data/#socnets
  • 4. Facebook Degree Distribution – Power law (Skewed) Size of Giant component - 4039 20-04-2021 VANI KANDHASAMY, PSGTECH 4 Hubs / Celebrity / Influencer
  • 5. Key Network Measures –Real World Network Measure Description Degree Distribution Power Law (Few Hubs) Clustering Coefficient High Average Path Length Small Connectivity / Size of Giant component Large 20-04-2021 VANI KANDHASAMY, PSGTECH 5
  • 6. Network Models NETWORKS, CROWDS AND MARKETS - CHAPTER 18, 20 20-04-2021 VANI KANDHASAMY, PSGTECH 6
  • 7. Why model? •Definition: a miniature representation of real thing •Simple representation of complex network •Can derive properties mathematically •Predict properties and outcomes 20-04-2021 VANI KANDHASAMY, PSGTECH 7
  • 10. Erdös-Renyi / Random model •Assumptions • nodes connect at random • network is undirected •Key parameter (besides number of nodes N) : p or M • p = probability that any two nodes share and edge (Gnp) • M = total number of edges in the graph (Gnm) 20-04-2021 VANI KANDHASAMY, PSGTECH 10
  • 11. Erdös-Renyi model 20-04-2021 VANI KANDHASAMY, PSGTECH 11
  • 12. Key Network Measures – Erdös-Renyi model Measure Description Degree Distribution ? Clustering Coefficient ? Average Path Length ? Connectivity / Size of Giant component ? 20-04-2021 VANI KANDHASAMY, PSGTECH 12
  • 13. Degree distribution •Gnp-model: For each potential edge we flip a coin with probability p we add the edge with probability (1-p) we don’t •Degree distribution of Gnp is binomial 20-04-2021 VANI KANDHASAMY, PSGTECH 13
  • 14. Degree distribution Avg. Degree: 20-04-2021 VANI KANDHASAMY, PSGTECH 14
  • 15. Clustering Coefficient 𝐶𝑖 = # 𝑝𝑎𝑖𝑟𝑠 𝑜𝑓 𝑖′𝑠 𝑓𝑟𝑖𝑒𝑛𝑑𝑠 𝑤ℎ𝑜 𝑎𝑟𝑒 𝑓𝑟𝑖𝑒𝑛𝑑𝑠 # 𝑝𝑎𝑖𝑟𝑠 𝑜𝑓 𝑖′𝑠 𝑓𝑟𝑖𝑒𝑛𝑑𝑠 ei is the number of edges between i’s friends ki is the number of i’s friends / degree of i 20-04-2021 VANI KANDHASAMY, PSGTECH 16
  • 16. Clustering Coefficient Number of distinct pairs of friends of node i of degree ki 20-04-2021 VANI KANDHASAMY, PSGTECH 17
  • 17. Avg. Path Length log-log plot Avg. Path Length ~ O(log n) 20-04-2021 VANI KANDHASAMY, PSGTECH 18
  • 18. Giant Component Graph structure of Gnp as p (density) changes 20-04-2021 VANI KANDHASAMY, PSGTECH 19
  • 19. Giant Component ത 𝑘=1-ε -> all components are of size Ω(log n) ത 𝑘 =1+ε -> 1 component of size Ω(n), others have size Ω(log n) 20-04-2021 VANI KANDHASAMY, PSGTECH 20
  • 20. Key Network Measures – Erdös-Renyi model Measures Description Degree Distribution Binomial Clustering Coefficient C = p = ҧ 𝐤 / n Average Path Length O(log n) Connectivity / Size of Giant component GCC exists when ҧ 𝐤 >1 20-04-2021 VANI KANDHASAMY, PSGTECH 21
  • 21. Real world network vs. Random Network Parameters Facebook Gnp Match Degree Distribution Clustering Coefficient 0.6055 0.01 Average Path Length 3.6925 2.654 Connectivity / Size of Giant component 4039 4039 (ത k = 20.09) 20-04-2021 VANI KANDHASAMY, PSGTECH 22
  • 22. Summary: Erdös-Renyi model Giant connected component Average path length Clustering Coefficient – no local structure Degree Distribution – absence of hubs 20-04-2021 VANI KANDHASAMY, PSGTECH 23
  • 24. Small World Phenomenon - Milgram’s experiment NE MA 20-04-2021 VANI KANDHASAMY, PSGTECH 25
  • 25. Small World Phenomenon - Milgram’s experiment Six degrees of separation Assume each human is connected to 100 other people then: Step 1: reach 100 people Step 2: reach 100*100 = 10,000 people Step 3: reach 100*100*100 = 1,000,000 people Step 4: reach 100*100*100*100 = 100M people In 5 steps we can reach 10 billion people 20-04-2021 VANI KANDHASAMY, PSGTECH 26
  • 26. Small World Phenomenon 20-04-2021 VANI KANDHASAMY, PSGTECH 27
  • 27. Small World Phenomenon 20-04-2021 VANI KANDHASAMY, PSGTECH 28
  • 28. Network Models 20-04-2021 VANI KANDHASAMY, PSGTECH 29
  • 29. high clustering low average shortest path Small world phenomenon ) ln( network N l  graph random network C C  Clustering implies edge “locality” Randomness enables “short paths” 20-04-2021 VANI KANDHASAMY, PSGTECH 31
  • 30. Watts-Strogatz / Small World model Two components to the model: 1. Start with a regular lattice (High CC) 2. Rewire: (Low APL) ◦ Add edges to reach remote parts of the lattice ◦ For each edge with prob. p move the other end to a random node 20-04-2021 VANI KANDHASAMY, PSGTECH 32
  • 31. Select a fraction p of edges Reposition one of their endpoints Add a fraction p of additional edges leaving underlying lattice intact Watts-Strogatz / Small World model 20-04-2021 VANI KANDHASAMY, PSGTECH 33
  • 33. 1% of links rewired 10% of links rewired 20-04-2021 VANI KANDHASAMY, PSGTECH 35
  • 34. Summary: Watts-Strogatz model Giant connected component Average path length Clustering Coefficient Degree Distribution – absence of hubs 20-04-2021 VANI KANDHASAMY, PSGTECH 36
  • 36. Poisson distribution 20-04-2021 VANI KANDHASAMY, PSGTECH 38
  • 37. Power Law distribution 20-04-2021 VANI KANDHASAMY, PSGTECH 39
  • 38. Power law distribution Straight line on a log-log plot Exponentiate both sides to get that p(k), normalization constant (probabilities over all x must sum to 1) power law exponent a 20-04-2021 VANI KANDHASAMY, PSGTECH 40
  • 39. Generating Power Law Networks ▪Ingredient # 1: growth over time nodes appear one by one, each selecting m other nodes at random to connect to ▪Ingredient # 2: preferential attachment new nodes prefer to attach to well-connected nodes over less- well connected nodes 20-04-2021 VANI KANDHASAMY, PSGTECH 41
  • 40. Ingredient # 1: growth over time •one node is born at each time tick •at time t there are t nodes •change in degree ki of node i (born at time i, with 0 < i < t) 20-04-2021 VANI KANDHASAMY, PSGTECH 42
  • 41. Ingredient # 1: growth over time •How many new edges does a node accumulate since it's birth at time i until time t? 20-04-2021 VANI KANDHASAMY, PSGTECH 43
  • 43. Degree distribution •Let τ(100) be the time at which node with degree e.g. 100 is born •Then the fraction of nodes that have degree <= 100 is (t – τ)/t 20-04-2021 VANI KANDHASAMY, PSGTECH 45
  • 44. Ingredient # 2: preferential attachment •Rich-get-richer phenomenon •Cumulative advantage 20-04-2021 VANI KANDHASAMY, PSGTECH 46
  • 45. Barabasi-Albert model •the process starts with some initial subgraph •each new node comes in with m edges •probability of connecting to node i 20-04-2021 VANI KANDHASAMY, PSGTECH 47
  • 46. To start, each vertex has an equal number of edges (2) ◦ the probability of choosing any vertex is 1/3 We add a new vertex, and it will have m edges, here take m=2 ◦ draw 2 random elements from the array – suppose they are 2 and 3 Now the probabilities of selecting 1,2,3,or 4 are 1/5, 3/10, 3/10, 1/5 20-04-2021 VANI KANDHASAMY, PSGTECH 48
  • 47. Properties of the BA graph •The degree distribution is scale free with exponent α = 3 P(k) = 2 m2/k3 •The graph is connected oEvery vertex is born with a link (m ≥ 1) oIt connects to older vertices, which are part of the giant component •The older are richer oNodes accumulate links as time goes on oPreferential attachment will prefer wealthier nodes 20-04-2021 VANI KANDHASAMY, PSGTECH 49
  • 48. vertex introduced at time t=5 vertex introduced at time t=95 Barabasi-Albert model Age of node -> Degree of node Degree of node -> Popularity of node 20-04-2021 VANI KANDHASAMY, PSGTECH 50
  • 49. Summary: Barabasi-Albert model Giant connected component Average path length Degree Distribution Clustering Coefficient – no local structure 20-04-2021 VANI KANDHASAMY, PSGTECH 51
  • 51. Decentralized Search A GREEDY APPROACH 20-04-2021 VANI KANDHASAMY, PSGTECH 53
  • 52. How to navigate a network? 20-04-2021 VANI KANDHASAMY, PSGTECH 54
  • 53. Decentralized Search ▪Source s only knows locations of its friends and location of the Target t ▪s does not know links of anyone else but itself ▪Geographic Navigation: s “navigates” to a node geographically closest to t 20-04-2021 VANI KANDHASAMY, PSGTECH 55
  • 54. Decentralized Search ERDOS-RENYI MODEL WATTS-STROGATZ 20-04-2021 VANI KANDHASAMY, PSGTECH 56 Search time T
  • 55. Kleinberg’s Model ▪Nodes still on a grid and connect to nearest neighbors ▪Additional links placed with 20-04-2021 VANI KANDHASAMY, PSGTECH 57
  • 56. Kleinberg’s Model 20-04-2021 VANI KANDHASAMY, PSGTECH 58 Netlogo: DEMO
  • 57. Kleinberg’s Model (α ≠ 2) 20-04-2021 VANI KANDHASAMY, PSGTECH 59
  • 58. Kleinberg’s Model (α = 2) 20-04-2021 VANI KANDHASAMY, PSGTECH 60
  • 59. Kleinberg’s Model 20-04-2021 VANI KANDHASAMY, PSGTECH 61
  • 60. Diffusion in Networks SIMPLE CONTAGION 20-04-2021 VANI KANDHASAMY, PSGTECH 62
  • 62. Simple contagion Random • Density • Netlogo:Demo Scale free • Preferential attachment • Netlogo:Demo Small world • Rewiring probability • Netlogo:Demo 20-04-2021 VANI KANDHASAMY, PSGTECH 64