pymc
pymc copied to clipboard
Bayesian Modeling and Probabilistic Programming in Python
### Description Sometimes we have less sample stats than chains with SMC (the concept of `draws` is hacked a bit), and this line here will trigger an arviz warning: https://github.com/pymc-devs/pymc/blob/cc902124ed08fe8c3007699451cc0c16f38520d2/pymc/smc/sampling.py#L266-L270...
## Description Continues/completes [#7462](https://github.com/pymc-devs/pymc/pull/7918). I didn't have permission to push into that PR, so I'm opening this one. The purpose of this PR is to use narwhals as a one-stop...
Implemented transform_labels method to handle coordinate transformations. - Base Transform: Identity (returns labels unchanged). - SimplexTransform: Drops the last label. - SumTo1: Drops the last label. - ZeroSumTransform: Implemented logic...
### Description Certain transformations change the shape of a variable, which causes us to lose dimension information for the transformed variable. An example is `SimplexTransform`, which removes the last value...
### Issue with current documentation: The notebooks page could use a an explainer that theres more notebooks available in the examples tab. Something like `These are the core notebooks, to...
# Fix: `sample_posterior_predictive` incorrectly resamples dependencies of Deterministic variables ## Problem Description When using `sample_posterior_predictive` with `predictions=True` and including a `Deterministic` variable in `var_names`, the function incorrectly **resamples** the Deterministic's...
### Issue with current documentation: On any page on the main PyMC.io docs site, the main header and hamburger menu are non-responsive on mobile (Safari on iOS, iPhone 15 Plus...
This PR adds a small documentation-only fix to make the site navigation responsive on mobile (especially iOS/Safari). What I changed - Added `docs/source/_static/js/mobile-menu-fix.js` -- a small touchstart --> click bridge...
### Describe the issue: The function [`find_constants` in backends/arviz.py](https://github.com/pymc-devs/pymc/blob/751f9a8ba2deb07630bc529f54e45efc28d7bab9/pymc/backends/arviz.py#L73-L91) aims to return the elements that should go into the [constant data group](https://python.arviz.org/en/v0.21.0/schema/schema.html#constant-data) and has some logic to remove instances of...
## Description ~This PR updates the book link for BAP because the original URL seems to be broken/unmaintained.~ This PR adds links to the GitHub code behind the BAP resource....