pymc
pymc copied to clipboard
Bayesian Modeling and Probabilistic Programming in Python
Remove dangling square bracket. ## Description I made a PR recently #7960 and noticed the welcome message had a dangling square bracket. So this PR removes that so that things...
## Description Switching from list comprehension to np.fromiter converts the list to an NDArray which satisfies Mypy Type checks ## Related Issue - [ ] Closes # - [ ]...
I was going to work on general icdf(abs(x)) which requires an optimization routine, but found some small crumbs along the way. * Allow logp(abs(x)) and logcdf(abs(x)) for discrete x. *...
## Description This PR replaces the deprecated `pt.batched_dot` function with the preferred `pt.sum` operation in the KroneckerNormal distribution's logprob calculation, addressing issue #7878. ## Problem The current implementation uses `batched_dot`,...
## Description ## Related Issue - [*] Closes #7581 - [ ] Related to # ## Checklist - [ ] Checked that [the pre-commit linting/style checks pass](https://docs.pymc.io/en/latest/contributing/python_style.html) - [ ]...
## Description This PR implements validation to check `idata` dimensions and coordinates consistency before sampling begins, addressing issue #7891. ## Problem Previously, sampling would fail with unclear error messages when...
### Describe the issue: Attempting to install PyMC on macOS (M3, arm64) using Homebrew Python 3.14 fails during dependency resolution/build. `pytensor` tries to build against `numpy
This change makes it so calling `sample` on fitted approximations uses the model context or an explicitly provided model. Previously, this had a hard assumption that we only want to...
## Description ## Related Issue - [*] Closes #7713 - [ ] Related to # ## Checklist - [*] Checked that [the pre-commit linting/style checks pass](https://docs.pymc.io/en/latest/contributing/python_style.html) - [*] Included tests...
## Description The rich progress bars don't work well in marimo notebooks. Here is a basic implementation using their progress bar component to track the `pymc` sampler. An implementation note:...