LoginSignup
0
0

More than 5 years have passed since last update.

ベイズの定理を図で考えてみる

Posted at

ベイズの定理を図で考えてみる

ベイズの定理は以下のようになりますが、私が読んだ本では単なる式変形で導いていたので、それを図で考えてみる。

P(A | B)=\frac{P(B | A) P(A)}{P(B)}

A,Bが以下の図の関係にあるとします。
A&B.png
この時、P(A),P(B),P(A|B),P(B|A)は次のように表せる。
AB.png
これらをベイズの定理に代入してみる。
answer.png

訳わからなくなったら、図で考えてみるのもいいかもね。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0