Introduction to pyAgrum
pyAgrum is a scientific C++ and Python library dedicated to Bayesian networks (BN) and other Probabilistic Graphical Models. Based on 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 and others probabilistic graphical models : Markov random fields (MRF), influence diagrams (ID) and LIMIDs, credal networks (CN), dynamic BN (dBN), probabilistic relational models (PRM).
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 :
- Tutorials on pyAgrum
- Exact and Approximated Inference
- Learning Bayesian networks
- Different Graphical Models
- Bayesian networks as scikit-learn compliant classifiers
- Causal Bayesian Networks
- pyAgrum’s (experimental) models
- pyAgrum’s specific features
- Examples
- Examples from ‘The Book of Why’ (J. Pearl, 2018)