bbn v0.5.0
bbn v0.5.0
Bayesian Belief Network CLI/TUI tool and Go module.
Highlights
- Uses variable elimination instead of the importance sampling for inference.
- Supports decision networks (aka influence diagrams), including sequential decisions.
- Adds logic nodes for logical reasoning, using simple keywords like
and
orif-then
instead of CPTs. - Loads of improvements of the TUI app
Changelog
Features
- Reworked library and apps to use Variable Elimination for inference (#42, #43, #44, #45, #46, #47, #48)
- Implement multi-stage decision networks (#45, #60, #61)
- Adds network training to the TUI app (#54)
- Adds a toggle to the TUI app to ignore policies of decision nodes with evidence (#56)
- Nodes can be moved in the TUI app with WASD keys (#57)
- Save network from TUI app using Ctrl+S (#57)
- Adds a help dialog to the TUI app (#58)
- Optional total utility node for weighting individual utilities (#59)
- Adds support for custom node colors in YAML files (#64)
- Adds shortcuts for logic nodes like, and, or, if-then, etc. (#65)
- Networks can have a longer info text, also shown in TUI app (#66)
Documentation
- Adds oil drilling decision example (#48)
- Adds robot decision example (#50)
- Adds medical treatment decision example (#60)
- Adds disease control decision example (#61)
- Adds three examples for logic induction using well-known logical puzzles (#65, #66)
- All examples have a detailed description that shows up in the TUI app (#66, #67)