pymc
pymc copied to clipboard
Bayesian Modeling and Probabilistic Programming in Python
### Describe the issue: `pm.sample_posterior_predictive` silently fails when `extend_inferencedata = True` and `posterior_predictive` group exists ### Reproduceable code example: ```python import pymc as pm import numpy as np y =...
### Description We are looking for help to implement inverse cumulative distribution (ICDF) functions for our distributions! ### How to help? This PR should give a template on how to...
**What is this PR about?** `printing.py` had developed a decent amount of duplicated code. I wanted to work on #6508 but found it difficult to parse through the logic. Through...
One tricky thing will be to work in conjunction with #6932 Partial imputation is a model transformation that happens usually at `model.register_rv` and creates two model RVs (the observed and...
### Describe the issue: Repeated calls to pm.sample_smc() will sometimes generate log_marginal_likelihood structures with wrong dimensions. This applies to both MH and IMH kernels. Here are two outputs from the...
### Issue with current documentation: After seeing that some methods, like `dist`, accept both `shape` and `size` I looked for information about the difference between the two but could not...
## Description Adds a specialized dispatch for transformed logps ### TODO - [ ] Add a direct test - [x] Implement case for ZeroSumNormal ## Related Issue - [ ]...
### Description As shown in one of the new examples in #7014 ```python import pymc as pm with pm.Model() as model: x = pm.Normal("x") y = pm.Normal("y") det_xy = pm.Deterministic("det_xy",...
### Description sample calls it draws, and the default dim is also `draw`. Whenever I want to use a kwarg to specify the number of draws I am always surprised...
## Description Allow coords defined by length only (no values) to be considered `constant_coords` if the new length matches. ## Related Issue - [x] Closes #7376 - [ ] Related...