pymc-devs/pymc

Bayesian Modeling and Probabilistic Programming in Python

View on GitHub ↗Jump to charts ↓

Summary Information

Updated 38 minutes ago
Added to GitGenius on September 6th, 2026
Created on May 5th, 2009
Open Issues & Pull Requests: 491 (+0)
GitHub issues: Enabled
Number of forks: 2,284
Total Stargazers: 9,742 (+0)
Total Subscribers: 221 (+0)

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Issue API getrepoissuespagesummary failed: 429 Rate limit exceeded. Please try again later.

Detailed Description

PyMC is a Python package for Bayesian statistical modeling that implements advanced Markov chain Monte Carlo and variational inference algorithms.

The tool addresses the challenge of specifying and fitting complex probabilistic models by providing an intuitive syntax where statistical distributions are declared directly in Python code. Rather than requiring users to manually derive and implement sampling algorithms, PyMC automates inference through powerful samplers like the No U-Turn Sampler, which can handle models with thousands of parameters. The package also offers variational inference methods including ADVI for fast approximate posterior estimation and mini-batch ADVI for large datasets. Under the hood, PyMC relies on PyTensor for computational optimization and compilation to C or JAX, enabling efficient execution while maintaining NumPy-compatible broadcasting and indexing.

PyMC suits researchers and practitioners building Bayesian models across domains where uncertainty quantification matters—from scientific inference to machine learning applications. It is particularly valuable when you need flexible model specification without deep expertise in sampling algorithm implementation. The intuitive syntax makes model definition readable and maintainable, while the underlying algorithmic sophistication handles the computational heavy lifting. The tool's support for missing value imputation and its extensibility through PyTensor make it adaptable to specialized modeling needs.

Development activity shows consistent engagement with the codebase through regular commits and active issue resolution. The project maintains a dedicated community forum for user support and questions. Documentation is comprehensive, with numerous examples and tutorials available to help users get started. The package is actively maintained with ongoing refinements to its algorithms and infrastructure.