SlideShare ist ein Scribd-Unternehmen logo
1 von 7
第14回AIツール入門講座
「Google Colaboratoryによる
ネットワーク分析入門」
6. ネットワーク上の情報伝搬
SIRなどの感染モデルや、そのシミュレーションについて説明し
ます。
情報伝搬・病気感染のモデル化
• SNSでの口コミの情報伝搬をモデル化→限られた広告予算で、
なるべく多くの人に情報を拡散する
• 病気が感染するプロセスをモデル化→爆発的感染を防ぐ
• 伝搬過程のモデルと、ネットワーク構造のモデルの両方を考え
る必要がある
SI model
• 2つの状態
• S: susceptible (感染していない)
• I : infected (感染している)
• 全員が他の全員と接すると仮定
S I
t
x
SI modelの例
• b(単位時間に接する人数)を変化させ、感染割合を表示
SIR model
• 3つの状態
• S: susceptible (感染していない)
• I : infected (感染している)
• R: recovered (回復した)
S I R
 
𝛾𝛿𝜏
1-𝛾𝛿𝜏
S
R
I
NDlibによるシミュレーション
• ネットワーク上の感染シミュレーションを行うライブラリ
• https://ndlib.readthedocs.io/en/latest/index.html
• シミュレーションにおける入力
• 対象とするネットワーク
• 𝑥0 (時刻t = 0 における状態Iの割合)
• 𝛽(状態Sから状態Iに変化する確率)
• 𝛾(状態Iから状態Rに変化する確率)
• シミュレーションにおける出力
• 状態Sの割合(𝑠)、状態Iの割合(𝑥)、状態Rの割合(𝑟)の時間変化
• 状態Sの割合(𝑠)、状態Iの割合(𝑥)、状態Rの割合(𝑟)の各時刻での増減量
NDlibによるシミュレーション例
• https://ndlib.readthedocs.io/en/latest/tutorial.htmlを参照
Jupyterでは!pip
Jupyterで必要
Ndlibをimport

Weitere ähnliche Inhalte

Mehr von tm1966

Introduction of network analysis with Google Colaboratory -- Network Models
Introduction of network analysis with Google Colaboratory -- Network ModelsIntroduction of network analysis with Google Colaboratory -- Network Models
Introduction of network analysis with Google Colaboratory -- Network Modelstm1966
 
Introduction of network analysis with Google Colaboratory -- Network Algorithms
Introduction of network analysis with Google Colaboratory -- Network AlgorithmsIntroduction of network analysis with Google Colaboratory -- Network Algorithms
Introduction of network analysis with Google Colaboratory -- Network Algorithmstm1966
 
Introduction of network analysis with Google Colaboratory -- Network Metrics
Introduction of network analysis with Google Colaboratory -- Network MetricsIntroduction of network analysis with Google Colaboratory -- Network Metrics
Introduction of network analysis with Google Colaboratory -- Network Metricstm1966
 
Introduction of network analysis with Google Colaboratory -- Example of Netwo...
Introduction of network analysis with Google Colaboratory -- Example of Netwo...Introduction of network analysis with Google Colaboratory -- Example of Netwo...
Introduction of network analysis with Google Colaboratory -- Example of Netwo...tm1966
 
Introduction of network analysis with Google Colaboratory -- Introduction of ...
Introduction of network analysis with Google Colaboratory -- Introduction of ...Introduction of network analysis with Google Colaboratory -- Introduction of ...
Introduction of network analysis with Google Colaboratory -- Introduction of ...tm1966
 
Introduction of network analysis with Google Colaboratory -- Orientation
Introduction of network analysis with Google Colaboratory -- OrientationIntroduction of network analysis with Google Colaboratory -- Orientation
Introduction of network analysis with Google Colaboratory -- Orientationtm1966
 
20160901 jwein
20160901 jwein20160901 jwein
20160901 jweintm1966
 
20140925 multilayernetworks
20140925 multilayernetworks20140925 multilayernetworks
20140925 multilayernetworkstm1966
 

Mehr von tm1966 (8)

Introduction of network analysis with Google Colaboratory -- Network Models
Introduction of network analysis with Google Colaboratory -- Network ModelsIntroduction of network analysis with Google Colaboratory -- Network Models
Introduction of network analysis with Google Colaboratory -- Network Models
 
Introduction of network analysis with Google Colaboratory -- Network Algorithms
Introduction of network analysis with Google Colaboratory -- Network AlgorithmsIntroduction of network analysis with Google Colaboratory -- Network Algorithms
Introduction of network analysis with Google Colaboratory -- Network Algorithms
 
Introduction of network analysis with Google Colaboratory -- Network Metrics
Introduction of network analysis with Google Colaboratory -- Network MetricsIntroduction of network analysis with Google Colaboratory -- Network Metrics
Introduction of network analysis with Google Colaboratory -- Network Metrics
 
Introduction of network analysis with Google Colaboratory -- Example of Netwo...
Introduction of network analysis with Google Colaboratory -- Example of Netwo...Introduction of network analysis with Google Colaboratory -- Example of Netwo...
Introduction of network analysis with Google Colaboratory -- Example of Netwo...
 
Introduction of network analysis with Google Colaboratory -- Introduction of ...
Introduction of network analysis with Google Colaboratory -- Introduction of ...Introduction of network analysis with Google Colaboratory -- Introduction of ...
Introduction of network analysis with Google Colaboratory -- Introduction of ...
 
Introduction of network analysis with Google Colaboratory -- Orientation
Introduction of network analysis with Google Colaboratory -- OrientationIntroduction of network analysis with Google Colaboratory -- Orientation
Introduction of network analysis with Google Colaboratory -- Orientation
 
20160901 jwein
20160901 jwein20160901 jwein
20160901 jwein
 
20140925 multilayernetworks
20140925 multilayernetworks20140925 multilayernetworks
20140925 multilayernetworks
 

Introduction of network analysis with Google Colaboratory -- Diffusion in Networks