pymc
pymc copied to clipboard
Bayesian Modeling and Probabilistic Programming in Python
We recommend reading through this before contributing to PyMC. ## New Contributors to PyMC Are you new to contributing to PyMC? If so, we have some resources to get you...
Comment from https://github.com/pymc-devs/pymc/pull/7457#issuecomment-2317733942 This shouldn't be in `discrete.rst` but in the docs of the OrderedLogistic/Probit functions.  Also as @AllenDowney mentioned the description of the distributions are themselves wrong: https://github.com/pymc-devs/pymc/blob/d31301279776888c1540bfba890cba38ea250637/pymc/distributions/discrete.py#L1192
## 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 Adding the forgotten yml workflow file to populate the issue here: https://github.com/pymc-devs/pymc/issues/7686 CC: @ricardoV94 ## Related Issue - [ ] Closes # - [ ] Related to #...
## Description This PR addresses Pyodide compatibility (#7519) and enhances testing: 1. **Pyodide Support (#7519)**: - Moved `multiprocessing` import from the top of `pymc/smc/sampling.py` to inside `run_chains` before `multiprocessing.Manager()`. Prevents...
Checking out how VI works with a simple from-scratch implemention ---- 📚 Documentation preview 📚: https://pymc--7799.org.readthedocs.build/en/7799/
## Description A pain point for me when testing different algorithms (e.g. MCMC vs VI) is that I don't want to write a 2nd version of the model with `pm.Minibatch`...
This PR caches the expensive model methods (logp extraction, and function compilation). It introduces a decorator for methods that can invalidate the cache of a model (such as registering a...
### Discussed in https://github.com/pymc-devs/pymc/discussions/7177 Originally posted by **ricardoV94** February 28, 2024 Users are often mislead to believe that when defining models with MutableData, PyMC will avoid recompiling logp/prior/posterior predictive functions...
## Description Fixed the AdvancedSubTensor with None and Integer values bug of having a logprob error instead of gracefully crashing through including a check for NoneConst types in mixture.py. None...