AIAny
AI Others2013
Icon for item

pgmpy

Provides APIs to build, learn, and run Bayesian and dynamic Bayesian networks, perform probabilistic inference, and compute interventional/counterfactual queries. Ships example notebooks, tutorials, and PyPI/conda packages. ([github.com](https://github.com/pgmpy/pgmpy))

Introduction

Most practitioners treat probabilistic graphical models and causal queries as separate toolchains; pgmpy brings them into the same Python-first workflow so you can move from structure learning to interventional and counterfactual analysis without switching frameworks. The project has matured through years of community contributions and accompanying academic documentation. (github.com)

What Sets It Apart
  • Unified API for structure learning, parameter estimation, exact/approximate inference, and causal queries — so you can prototype a DAG from data, fit CPDs, run inference, and compute do- or counterfactual-queries within the same codebase. (github.com)
  • Focus on causal capabilities (interventions and counterfactuals) in addition to standard probabilistic inference, making it suitable for workflows that require both predictive and causal reasoning. (github.com)
  • Accessible ecosystem: published on PyPI/conda with example notebooks and tutorials, plus a CITATION file and an accompanying toolkit paper for academic citation. (pypi.org)
Who It's For

Great fit if you need a Python-native library to prototype probabilistic graphical models, run structure/parameter learning from tabular data, and answer interventional or counterfactual questions in research or applied analytics. Look elsewhere if you only need deep-learning-based differentiable PGMs (pgmpy focuses on classical PGM algorithms) or if you require built-in GPU-accelerated neural estimators — those are outside its core remit. (github.com)

Where It Fits

pgmpy sits between academic PGM tooling and applied analytics: compared to general-purpose ML libraries it provides domain-specific algorithms (PC, score-based learners, variable elimination, sampling, do-calculus utilities). It pairs well with data pipelines (pandas) and scientific Python stacks for causal-effect estimation and simulation. (github.com)

Information

  • Websitegithub.com
  • AuthorsAnkur Ankan, Johannes Textor, pgmpy community
  • Published date2013/09/20

Categories

More Items

GitHub
AI Others2014

Provides a complete, university-level computer science curriculum assembled from free online courses and books. Curates degree-aligned course sequences (Intro / Core / Advanced) with community support, project guidance, and checklists to track progress for self-directed learners.

GitHub
AI Others2025

Curated collection of 70 hands‑on cybersecurity projects, certification roadmaps and learning resources organized into Foundations/Beginner/Intermediate/Advanced tiers. Each project ships source code plus deep learn/ documentation; several focus on AI security (LLM prompt defenses, ML threat detection).

GitHub
AI Others2026

Provides a customizable React-based design system and component library designed for people and AI assistants to build together. Ships 150+ accessible components, a theme system, and a CLI; supports swizzling to eject source and className overrides so projects avoid styling lock-in.