Implementations of examples from Data Analysis: A Bayesian Tutorial by D.S. Sivia, 2006.
To initialize the virtual environment and install necessary packages:
python3 -m venv venv-sivia
source venv-sivia/bin/activate
pip install numpy matplotlib
coin_flip.py: Biased coin from Chapter 2, "Parameter Estimation I"
lighthouse.py: Lighthouse detection on shoreline from Chapter 2, "Parameter Estimation I" with prediction of both parameters as in Chapter 3, "Parameter Estimation II"