pymc-devs/pymc-extras
pymc-devs/pymc-extras has 144 GitHub stars and 98 forks. GitHot measured 0 in 7 days. Last checked 2026-11-11 02:09 UTC. Last push 2026-11-02.
Powerful add-ons for PyMC
Measured star growth
- in 24h
- Update delayed
- in 7 days
- 0
- in 15 days
- Collecting history
- in 1 month
- Collecting history
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalWelcome to pymc-extras
PyMC Extras extends PyMC with additional distributions, inference methods, and model transformations. It is maintained by the PyMC team and hosts functionality that is too specialized for the core library, but useful enough that you shouldn't have to write it yourself.
Highlights include:
- Automatic marginalization: exact for finite discrete and conjugate variables, approximate via the Laplace approximation
- Alternative inference methods: Pathfinder, DADVI, INLA, Laplace approximation, and better MAP estimation
- Statespace models: SARIMAX, VARMAX, ETS, and structural time series with Kalman filtering
- Additional distributions such as
DiscreteMarkovChain,GeneralizedPoisson, andGenExtreme
pymc-extras mirrors the namespaces in pymc to make usage and migration as easy as possible.
For example, distributions are used exactly like those in pymc:
import pymc as pm
import pymc_extras as pmx
with pm.Model():
xi = pm.HalfNormal("xi", 0.2)
pmx.GenExtreme("llik", mu=1, sigma=0.5, xi=xi, observed=data)
See the documentation for the full API reference.
Installation
pip install pymc-extras
or for the development version:
pip install git+https://github.com/pymc-devs/pymc-extras.git
Questions
What belongs in pymc-extras?
- statistical methods, for example step methods or model construction helpers
- distributions that are tricky to sample from or test
- specialized fitting methods or distributions
- any code that requires additional optimization before it can be used in practice
Functionality that proves widely useful may graduate to the main pymc repository.
What does not belong in pymc-extras?
- Case studies
- Implementations that cannot be applied generically, for example because they are tied to variables from a toy example
Contributing
We welcome contributions! Check out the contributing guidelines to get started.
Explore related projects
Asabeneh/30-Days-Of-Python
The 30 Days of Python programming challenge is a step-by-step guide to learn the Python programming language in 30 days. This challenge may take more than 100 days. Follow your own pace. These videos may help too: https://www.youtube.com/channel/UC7PNRuno1rzYPb1xLa4yktw
78,486 starsgrafana/grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
77,790 starsredis/redis
For developers, who are building real-time data-driven applications, Redis is the preferred, fastest, and most feature-rich cache, data structure server, and document and vector query engine.
77,332 starsapache/superset
Apache Superset is a Data Visualization and Data Exploration Platform
75,455 stars