Interactive Demos: Reasoning Under Uncertainty

Hands-On Practice

1. Bayes' Theorem Calculator

Enter a prior probability, sensitivity (true positive rate), and false positive rate to see the posterior probability computed step by step.

2. Entropy Visualizer

Adjust the probability of heads for a coin and see how entropy changes. Maximum entropy = 1 bit occurs at p = 0.5.


H = 1.0000 bits

3. Naive Bayes Spam Classifier

Enter words (comma-separated) and see the Naive Bayes classification. This simple demo uses a built-in word likelihood table.

4. MLE Coin Flip Simulator

Flip a biased coin repeatedly and watch the MLE estimate converge to the true probability.

Flips: 0 | Heads: 0 | MLE: —