Skip to content

bbn v0.5.0

Compare
Choose a tag to compare
@mlange-42 mlange-42 released this 05 Jul 22:07
· 24 commits to main since this release
b98153a

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 or if-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)