pgmpy/pgmpy
Python Toolkit for Causal and Probabilistic Reasoning
What it solves
pgmpy provides a toolkit for causal and probabilistic reasoning. It helps users model complex relationships between variables using graphical structures, allowing them to discover causal links, estimate parameters from data, and perform both probabilistic and causal inference.
How it works
The library offers a collection of data structures for various models, including Bayesian Networks, Structural Equation Models, and DAGs. It uses a unified, modular API that allows users to perform tasks like structure learning, model validation, and simulation. The library is designed to be extensible and is compatible with scikit-learn pipelines, making it easy to integrate into existing data science workflows.
Who it’s for
It is for researchers, data scientists, and developers who need to perform causal discovery or probabilistic modeling. It is suitable for those who want to build higher-level tools on top of these models or integrate causal reasoning into standard machine learning pipelines.
Highlights
- Supports a wide range of models including DAGs, PDAGs, MAGs, PAGs, Bayesian Networks, and Structural Equation Models.
- Includes algorithms for causal discovery, parameter estimation, and both causal and probabilistic inference.
- Features a unified, composable API that is compatible with scikit-learn.
- Provides tools for generating synthetic data through simulations.
- Includes built-in example datasets and models for learning and testing.
Related
- Project
- Project
- Project
- Project
- Project