Skip to content
Probability•intermediate

Bayes' Theorem

The mathematics of updating beliefs with evidence

Why This Matters for ML

Bayesian inference, spam filters, medical diagnosis models

Interactive Visualization

Interact with the visualization to explore

Prior P(H)

10%

Likelihood

90%

Posterior

50.0%

The Key Intuition

Bayes' theorem is about updating beliefs with evidence. You start with a prior belief P(A), observe data B, and calculate P(A|B) — your updated belief. This is the foundation of all Bayesian machine learning!

Try It Yourself

Use the visualization controls to:

  • Drag vectors to see transformations in real-time
  • Adjust parameters with sliders
  • Observe how changes affect the output
  • Connect the visual behavior to the math