BAYES' THEOREM
The formula is:
P(A|B) = P(A) P(B|A)P(B)
Which tells us: | how often A happens given that B happens, written P(A|B), | |
When we know: | how often B happens given that A happens, written P(B|A) | |
and how likely A is on its own, written P(A) | ||
and how likely B is on its own, written P(B) |
Let us say P(Fire) means how often there is fire, and P(Smoke) means how often we see smoke, then:
P(Fire|Smoke) means how often there is fire when we can see smoke
P(Smoke|Fire) means how often we can see smoke when there is fire
P(Smoke|Fire) means how often we can see smoke when there is fire
So the formula kind of tells us "forwards" P(Fire|Smoke) when we know "backwards" P(Smoke|Fire)
No comments:
Post a Comment