Introduction to pyAgrum¶
pyAgrum is a Python wrapper for the C++ aGrUM library. It provides a high-level interface to the C++ part of aGrUM allowing to create, manage and perform efficient computations with Bayesian Networks.

The module is generated using the SWIG interface generator. Custom-written code was added to make the interface more user friendly.
pyAgrum aims to allow to easily use (as well as to prototype new algorithms on) Bayesian network and other graphical models.
- pyAgrum contains
pyAgrum library¶
- Functions from pyAgrum
- Graphs manipulation
- Random Variables
- Potential and Instantiation
- Bayesian Network
- Probabilistic Relational Models
- Credal Networks
- Influence Diagram
- Other functions from aGrUM
- Exceptions from aGrUM
Causality in pyAgrum¶
pyAgrum.lib¶
pyAgrum.lib is a set of python tools.