Bayes Theorem
$$P(H|E) =\dfrac {P(H) \cdot P(E|H)} {P(E)} $$
# When to Use
- You have a hypothesis ${P(H) \cdot P(E|H)}$
- You’ve observed some evidence ${P(E)}$
- You want: $P(\dfrac{\text{Hypothesis}}{\text{given the evidence}})$ aka $P(H|E)$
# Proof
$P(H|E)$ = $P(E|H)$