Learn Before
Concept

Bayes' Theorem

Bayes' Theorem describes the probability of an event given prior knowledge of a related and/or previous event.

General formula: P(A|B) = [P(B|A) * P(A)]/[P(B)]

  1. P(A|B) = probability of A given B is true
  2. P(B|A) = probability of B given A is true
  3. P(A), P(B) = the independent probabilities of A and B

Formula applied to globe example: P(p|W, L) = [P(W, L|p)*P(p)]/[P(W, L)]

0

1

Updated 2026-05-02

Tags

Bayesian Statistics

Statistics

Data Science

D2L

Dive into Deep Learning @ D2L