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).
ImportantSince 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 as jupyter notebooks.
- a comprehensive API documentation.
- a gitlab repository.
- and a website.
1- Fundamental components
Section titled “1- Fundamental components”2- Bayesian networks
Section titled “2- Bayesian networks”- Model for Bayesian Network
- Input/Output Formats for Bayesian Networks
- Inference
- Learning
- Classifier with Bayesian Networks
- Tools for Bayesian networks
3- Causality
Section titled “3- Causality”- Probabilistic causality
- Tools for causality
- Causal Model
- Causal Inference (a.k.a. do-calculus)
- Other functions for causal inference
- Causal Effect Estimation
4- Other graphical models
Section titled “4- Other graphical models”5- pyAgrum’s (experimentals) models
Section titled “5- pyAgrum’s (experimentals) models”- Continuous-Time Bayesian Networks
- Continuous Linear Gaussian Bayesian Networks
- Bayesian Network Mixture
6- pyagrum.lib modules
Section titled “6- pyagrum.lib modules”- Jupyter notebook with Graphical Models
- DiscreteTypeProcessor for graphical Models
- Export and visualize Graphical models and Tensors (png, pdf)
- pyagrum.lib.explain
- pyagrum.lib.dynamicBN
- other pyagrum.lib modules
