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).
Important
Since pyAgrum 2.0.0, the package name follows PEP8 rules and is now pyagrum (lowercase).
Please use import pyagrum instead of import pyAgrum in your code.
See the CHANGELOG for more details.
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 and notebooks
- 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)
Reference manual
1- Fundamental components
2- Bayesian networks
3- Causality
4- Other graphical models
5- pyAgrum's (experimentals) models
6- pyagrum.lib modules
7- pyAgrum's tools
8- Customizing pyAgrum
9- Appendices