fundamentals

Belief Propagation

Sum-product messages for state-space models.

Book Mapping

Scripts

Outputs

Run non-interactive scripts with --save. The default artifact paths are output/figures/extras/belief_propagation/ and output/data/extras/belief_propagation/. These are declared outputs, not evidence that rendering has run.

Script Figure Raw data and manifest
visualize_belief_propagation.py --save visualize_belief_propagation.png visualize_belief_propagation.npz, visualize_belief_propagation.json
simulate_belief_propagation.py --save simulate_belief_propagation.png simulate_belief_propagation.npz, simulate_belief_propagation.json
animation_belief_propagation.py --save animation_belief_propagation.gif animation_belief_propagation.npz, animation_belief_propagation.json

Interactive mode requires a host display. Its --save option closes the GUI without writing artifacts; use the commands below as shown.

uv run python extras/belief_propagation/visualize_belief_propagation.py --save
uv run python extras/belief_propagation/simulate_belief_propagation.py --save
uv run python extras/belief_propagation/interactive_belief_propagation.py
uv run python extras/belief_propagation/animation_belief_propagation.py --save