pgmpy

pgmpy is a Python toolkit for causal and probabilistic reasoning using graphical models. It implements data structures for models such as DAGs, PDAGs, MAGs, PAGs, Bayesian Networks, Dynamic Bayesian Networks and Structural Equation Models, with algorithms for tasks including causal discovery, causal identification, inference, model validation, parameter estimation and simulations. Algorithms follow a unified composable API and are scikit-learn compatible when possible. It is available on PyPI and conda.

GitHub repo Directory import
0 shouts Added Sep 23, 2026 github.com
github.com/pgmpy/pgmpy
pgmpy website preview

Features

  • Python Toolkit for Causal and Probabilistic Reasoning Source: github.com
  • implements data structures for a range of causal and graphical models Source: github.com

Links

Tags