pymc
pymc copied to clipboard
Bayesian Modeling and Probabilistic Programming in Python
### Description I tried to demonstrate the basic functionality of PyMC in this notebook: https://colab.research.google.com/drive/1JyIeu2NMl_z6Y8ZniZn3jDrzzUL3i81q?usp=sharing I think `pm.set_data` jumps out as the odd one out that doesn't work with a...
Ideally we fix issues instead of suppressing them ## Description I'm hoping that https://github.com/pymc-devs/pytensor/pull/725 will make this flag unnecessary. Looking forward to seeing what happens. ## Related Issue - [...
### Description The PyMC Model omnipresent context makes it hard to transform models under the hood, because you can't create a new model inside another model without registering it's variables...
## Description ## Related Issue - [ ] Closes # - [ ] Related to # ## Checklist - [ ] Checked that [the pre-commit linting/style checks pass](https://docs.pymc.io/en/latest/contributing/python_style.html) - [...
### Description ```python import pymc as pm with pm.Model() as m: x = pm.Normal("x") idata1 = pm.sample(nuts_sampler="pymc") idata2 = pm.sample(nuts_sampler="numpyro") print(idata1.posterior.attrs) # {'created_at': '2024-04-17T08:06:27.074686', # 'arviz_version': '0.17.1', # 'inference_library': 'pymc',...
### Description Once the newer Jaxlib makes it into conda, we can revert PR #7255
### Description While #6695 is a bit dramatic and I have changed my mid about it a couple of times, we should at least mention on the docstrings of Deterministic...
### Description The logic of CustomDist is getting pretty large. After #7239 I would refactor it into it's own file (and same for tests).
### Describe the issue: `pymc.sample_smc` raises a `NotImplementedError` due to a missing logp method if a `pymc.CustomDist` is used in a model without `dist` argument. In addition to using `dist`,...
## Description Currently `sample_smc` can fail due to a `NotImplementedError` if it's used with a model defined using`CustomDist`. If a `CustomDist` is used without `dist` parameter, the overloads for `_logprob`,...