SlideShare a Scribd company logo
1
•
•
•
•
•
•
•
2
3
4
Pr[✓|x] =
Pr[x|✓] Pr[✓]
P
✓ Pr[x|✓] Pr[✓]
5
6
7
•
•
•
8
Pr[ θ, Z, D ]
Pr[ θ | D ]
Z D
9
X
y2Dom(Y )
Pr[X, y] = Pr[X]
X
y2Dom(Y )
Pr[y|X] = Pr[X] ⇥ 1
+ =
10
Pr[✓, D] = Pr[✓|D] Pr[D] Pr[✓|D] =
Pr[✓, D]
Pr[D]
D
Z D
D
Pr[✓|D] =
Pr[✓, D]
Pr[D]
=
Pr[✓, D]
P
✓ Pr[✓, D]
=
Pr[D|✓] Pr[✓]
P
✓ Pr[D|✓] Pr[✓]
11
•
•
•
•
•
•
12
1. N Poisson(ξ)
2. θ Dirichlet(θ ; α)
3. For n in 1, …, N
(a) zn Categorical(zn | θ)
(b) wn Categorical(wn | zn; β)
13
z, z=1, . . . , K
M N
✓ t
↵
w
14
1. N Poisson(ξ)
2. θ Dirichlet(θ ; α)
3. For n in 1 … N
(a) zn Categorical(zn | θ)
(b) wn Categorical(wn | zn; β)
✤
Pr[w, z, ✓; ↵, ] = Pr[✓|↵]
NY
n=1
Pr[zn|✓] Pr[wn|zn, zn ]
15
16
•
•
•
•
•
•
•
•
•
•
17
1. μ Normal(0.0, 0.12)
2. For i in 1 … N
(a) xi Normal(μ, 1.02)
μ x
N
• x
• μ
Pr[µ|x1, . . . , xN ] = Pr[µ|{x}]
18
•
•
•
•
•
19
mu = Normal('mu', 0, 1 / (0.1 ** 2))
✤
x
20
x = Normal('x', mu=mu, tau=1/(1.0**2),
value=x_sample, observed=True)
x
21
M = MCMC(input=[mu, x])
M.sample(iter=10000)
✤
22
Matplot.plot(mu)
23
1. p Beta(1.0, 1.0)
2. μ0 Normal(-1, 1.0)
3. μ1 Normal(1, 1.0)
4. For i in 1 … N
(a) yi Bernoulli(p)
(b) μ = μ0 if yi = 0; μ1 if yi = 1
(c) xi Normal(μ, 1.02)
y x
N
✤ xi
p μ0 μ1
24
@deterministic(plot=False)
def mu(y=y, mu0=mu0, mu1=mu1):
out = np.empty_like(y, dtype=np.float)
out[y == 0] = mu0
out[y == 1] = mu1
return out
25
•
•
•
•
•
•
•
•
•
26

More Related Content

PDF
変分推論法(変分ベイズ法)(PRML第10章)
PDF
PCAの最終形態GPLVMの解説
PDF
因果探索: 基本から最近の発展までを概説
PDF
研究室内PRML勉強会 8章1節
PDF
PRMLの線形回帰モデル(線形基底関数モデル)
PDF
GAN(と強化学習との関係)
PDF
逐次モンテカルロ法の基礎
PDF
グラフニューラルネットワーク入門
変分推論法(変分ベイズ法)(PRML第10章)
PCAの最終形態GPLVMの解説
因果探索: 基本から最近の発展までを概説
研究室内PRML勉強会 8章1節
PRMLの線形回帰モデル(線形基底関数モデル)
GAN(と強化学習との関係)
逐次モンテカルロ法の基礎
グラフニューラルネットワーク入門

What's hot (20)

PDF
Deep State Space Models for Time Series Forecasting の紹介
PDF
[DL輪読会]Control as Inferenceと発展
PDF
深層学習の不確実性 - Uncertainty in Deep Neural Networks -
PDF
深層生成モデルと世界モデル
PDF
最適輸送の計算アルゴリズムの研究動向
PPTX
変分ベイズ法の説明
PDF
SSII2022 [TS1] Transformerの最前線〜 畳込みニューラルネットワークの先へ 〜
PDF
Neural networks for Graph Data NeurIPS2018読み会@PFN
PDF
機械学習による統計的実験計画(ベイズ最適化を中心に)
PDF
Active Learning 入門
PDF
機械学習モデルのハイパパラメータ最適化
PDF
PRML学習者から入る深層生成モデル入門
PDF
PRML8章
PPTX
金融時系列のための深層t過程回帰モデル
PDF
Variational AutoEncoder
PDF
グラフィカルモデル入門
PPTX
MCMC法
PDF
ベータ分布の謎に迫る
PPTX
【DL輪読会】SimCSE: Simple Contrastive Learning of Sentence Embeddings (EMNLP 2021)
PDF
[DL輪読会]Learning Transferable Visual Models From Natural Language Supervision
Deep State Space Models for Time Series Forecasting の紹介
[DL輪読会]Control as Inferenceと発展
深層学習の不確実性 - Uncertainty in Deep Neural Networks -
深層生成モデルと世界モデル
最適輸送の計算アルゴリズムの研究動向
変分ベイズ法の説明
SSII2022 [TS1] Transformerの最前線〜 畳込みニューラルネットワークの先へ 〜
Neural networks for Graph Data NeurIPS2018読み会@PFN
機械学習による統計的実験計画(ベイズ最適化を中心に)
Active Learning 入門
機械学習モデルのハイパパラメータ最適化
PRML学習者から入る深層生成モデル入門
PRML8章
金融時系列のための深層t過程回帰モデル
Variational AutoEncoder
グラフィカルモデル入門
MCMC法
ベータ分布の謎に迫る
【DL輪読会】SimCSE: Simple Contrastive Learning of Sentence Embeddings (EMNLP 2021)
[DL輪読会]Learning Transferable Visual Models From Natural Language Supervision

Viewers also liked (8)

PDF
PyMC mcmc
PDF
科学技術計算関連Pythonパッケージの概要
PDF
基礎からのベイズ統計学 輪読会資料 第8章 「比率・相関・信頼性」
PDF
Juliaで学ぶ Hamiltonian Monte Carlo (NUTS 入り)
PDF
基礎からのベイズ統計学 輪読会資料 第4章 メトロポリス・ヘイスティングス法
PDF
From mcmc to sgnht
PDF
Python 機械学習プログラミング データ分析ライブラリー解説編
PDF
エクセルで統計分析 統計プログラムHADについて
PyMC mcmc
科学技術計算関連Pythonパッケージの概要
基礎からのベイズ統計学 輪読会資料 第8章 「比率・相関・信頼性」
Juliaで学ぶ Hamiltonian Monte Carlo (NUTS 入り)
基礎からのベイズ統計学 輪読会資料 第4章 メトロポリス・ヘイスティングス法
From mcmc to sgnht
Python 機械学習プログラミング データ分析ライブラリー解説編
エクセルで統計分析 統計プログラムHADについて

More from Toshihiro Kamishima (20)

PDF
RecSys2018論文読み会 資料
PDF
WSDM2018読み会 資料
PDF
Recommendation Independence
PDF
機械学習研究でのPythonの利用
PDF
Considerations on Recommendation Independence for a Find-Good-Items Task
PDF
Model-based Approaches for Independence-Enhanced Recommendation
PDF
KDD2016勉強会 資料
PDF
WSDM2016勉強会 資料
PDF
ICML2015読み会 資料
PDF
Future Directions of Fairness-Aware Data Mining: Recommendation, Causality, a...
PDF
Correcting Popularity Bias by Enhancing Recommendation Neutrality
PDF
The Independence of Fairness-aware Classifiers
PDF
Efficiency Improvement of Neutrality-Enhanced Recommendation
PDF
Absolute and Relative Clustering
PDF
Consideration on Fairness-aware Data Mining
PDF
Fairness-aware Classifier with Prejudice Remover Regularizer
PDF
Enhancement of the Neutrality in Recommendation
PDF
OpenOpt の線形計画で圧縮センシング
PDF
Fairness-aware Learning through Regularization Approach
PDF
Pythonによる機械学習実験の管理
RecSys2018論文読み会 資料
WSDM2018読み会 資料
Recommendation Independence
機械学習研究でのPythonの利用
Considerations on Recommendation Independence for a Find-Good-Items Task
Model-based Approaches for Independence-Enhanced Recommendation
KDD2016勉強会 資料
WSDM2016勉強会 資料
ICML2015読み会 資料
Future Directions of Fairness-Aware Data Mining: Recommendation, Causality, a...
Correcting Popularity Bias by Enhancing Recommendation Neutrality
The Independence of Fairness-aware Classifiers
Efficiency Improvement of Neutrality-Enhanced Recommendation
Absolute and Relative Clustering
Consideration on Fairness-aware Data Mining
Fairness-aware Classifier with Prejudice Remover Regularizer
Enhancement of the Neutrality in Recommendation
OpenOpt の線形計画で圧縮センシング
Fairness-aware Learning through Regularization Approach
Pythonによる機械学習実験の管理

Recently uploaded (20)

PDF
Lecture1 pattern recognition............
PPTX
1_Introduction to advance data techniques.pptx
PPTX
Database Infoormation System (DBIS).pptx
PPTX
Business Ppt On Nestle.pptx huunnnhhgfvu
PPTX
Data_Analytics_and_PowerBI_Presentation.pptx
PPTX
Acceptance and paychological effects of mandatory extra coach I classes.pptx
PPTX
05. PRACTICAL GUIDE TO MICROSOFT EXCEL.pptx
PPTX
CEE 2 REPORT G7.pptxbdbshjdgsgjgsjfiuhsd
PPTX
oil_refinery_comprehensive_20250804084928 (1).pptx
PDF
Introduction to Business Data Analytics.
PPTX
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
PDF
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
PPTX
Major-Components-ofNKJNNKNKNKNKronment.pptx
PDF
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf
PPTX
advance b rammar.pptxfdgdfgdfsgdfgsdgfdfgdfgsdfgdfgdfg
PPTX
Business Acumen Training GuidePresentation.pptx
PDF
Foundation of Data Science unit number two notes
PPTX
Supervised vs unsupervised machine learning algorithms
PPT
Quality review (1)_presentation of this 21
PDF
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
Lecture1 pattern recognition............
1_Introduction to advance data techniques.pptx
Database Infoormation System (DBIS).pptx
Business Ppt On Nestle.pptx huunnnhhgfvu
Data_Analytics_and_PowerBI_Presentation.pptx
Acceptance and paychological effects of mandatory extra coach I classes.pptx
05. PRACTICAL GUIDE TO MICROSOFT EXCEL.pptx
CEE 2 REPORT G7.pptxbdbshjdgsgjgsjfiuhsd
oil_refinery_comprehensive_20250804084928 (1).pptx
Introduction to Business Data Analytics.
DISORDERS OF THE LIVER, GALLBLADDER AND PANCREASE (1).pptx
168300704-gasification-ppt.pdfhghhhsjsjhsuxush
Major-Components-ofNKJNNKNKNKNKronment.pptx
BF and FI - Blockchain, fintech and Financial Innovation Lesson 2.pdf
advance b rammar.pptxfdgdfgdfsgdfgsdgfdfgdfgsdfgdfgdfg
Business Acumen Training GuidePresentation.pptx
Foundation of Data Science unit number two notes
Supervised vs unsupervised machine learning algorithms
Quality review (1)_presentation of this 21
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”

PyMCがあれば,ベイズ推定でもう泣いたりなんかしない