Logo of pgmpy

pgmpy

pgmpy is a Python library for causal and probabilistic modeling using graphical models. It provides a uniform API for building, learning, and analyzing models, such as Bayesian Networks, Dynamic Bayesian Networks, Directed Acyclic Graphs (DAGs), and Structural Equation Models (SEMs). By integrating tools from both probabilistic inference and causal inference, pgmpy enables users to seamlessly transition between predictive and causal analyses.

github.com/pgmpypgmpy.org

Maintainer

Ankur Ankan

Postdoctoral Researcher

How to support

Spread the word, contribute code/documentation, report issues, and help others in the community. Financial support is also welcome via GitHub Sponsors.

A small brief about your project

With pgmpy we aim to bring the state-of-the-art algorithms in probabilistic graphical models and causal inference to the Python data-science community.

One FOSS maintainer lesson for your younger self

Be selective on feature requests. Don't try to do everything.

Why do you do it? Why do you bother maintaining a FOSS project?

It's fun, it's good for the community, and I get to keep learning while doing it.

If your repo had a theme song, what would it be?

Which file in your project would you most like to set on fire?

"DAG.py". Just look at the size of that file!

What's your open-source villain origin story?

Reviewing fully LLM-generated PRs.

If you had to use one emoji to convey what it is like to be a FOSS maintainer, what would it be?

🧑💻