Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
ベイズの定理
Search
kuniiskywalker
January 23, 2018
0
54
ベイズの定理
kuniiskywalker
January 23, 2018
Tweet
Share
More Decks by kuniiskywalker
See All by kuniiskywalker
Pythonではじめる機械学習(教師あり学習)
kuniiskywalker
0
580
Featured
See All Featured
Building Better People: How to give real-time feedback that sticks.
wjessup
368
19k
A designer walks into a library…
pauljervisheath
207
24k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
16k
Docker and Python
trallard
46
3.6k
Being A Developer After 40
akosma
90
590k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
Making Projects Easy
brettharned
117
6.4k
It's Worth the Effort
3n
187
28k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
252
21k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
Rails Girls Zürich Keynote
gr2m
95
14k
StorybookのUI Testing Handbookを読んだ
zakiyama
31
6.1k
Transcript
ベイズの定理
条件付き確率をつかって、 状況に応じて確率を計算できる ベイズの定理とは?
青玉 赤玉 B1(箱1) B2(箱2) 目を閉じてどちらかの箱から玉を一つ取り出した 手にした玉が青玉だった場合、箱1を選んだ確率は? 例題
条件付き確率 P(A|B) Bが起こったという条件の元でAが起こる確率
・青玉を選ぶという事象をV ・箱1を選ぶ事象をB1 手にした玉が青玉だった場合、箱1を選んだ確率は? P(B1|V) = P(V) P(V|B1) P(B1)
箱1を選んだ時に青玉が出る確率は? ・P(V|B1) 箱1を選んだ時に青玉が出る確率 箱1の玉は全部で4個で青玉が3個なので、青玉が出る確率は 4 3 ・P(B1) 箱1を選ぶ確率 箱が2個でどちらか一つを選ぶので 2
1 ・ P(V)青玉を選ぶ確率 箱に関係なく玉は全部で8個、青玉は5個なので 8 5 5 3 P(V) P(V|B1) P(B1)
まとめ 状況に応じて確率を計算できて便利