pymc
pymc copied to clipboard
Bayesian Modeling and Probabilistic Programming in Python
### Description * float -> float: Do nothing logp wise * (int/bool) -> float: Do nothing logp wise * float -> int: Same as `pt.floor` (censoring)? * float -> bool:...
## Description Also adds optimization to avoid cloning the fgraph when it will be discarded anyway. Benchmarked with long models and can cut `clone_model` (the simplest workflow) by 2x ##...
## Description Example is taken from [this notebook](https://colab.research.google.com/drive/1JyIeu2NMl_z6Y8ZniZn3jDrzzUL3i81q?usp=sharing) and made to look like the readme example of [sunode](https://github.com/pymc-devs/sunode/blob/master/README.md) Not sure if the example is placed correctly. ## Related Issue -...
### Issue with current documentation: The documentation for [`pymc.Model`](https://www.pymc.io/projects/docs/en/stable/api/generated/pymc.Model.html) seems to give some conceptual gist of how it works, but the example given in the documentation [does not work](https://stackoverflow.com/questions/76224256/what-is-the-model-argument-in-the-super-init-in-the-example-subclassing/76224316?noredirect=1#comment134420040_76224316). There...
### Description Our canonical change point example model now emits a warning about invalid casting: ```python import pandas as pd import pymc as pm disaster_data = pd.Series( [4, 5, 4,...
@michaelosthege and I found out that the latest changes create issues when using `pm.ConstantData` (or `pm.Data`) and setting a dtype explicitly. We don't understand why because `pytensor.shared` has no problem...
### Description For univariate IID, adding a transform=`ordered` is equivalent to sorting the raw draws (forward pass). The logp is proportional to the density of the original draws + ordered...
## Description This PR adds a new class `CustomProgress` that inherits from `rich.progress.Progress`. I overloaded the necessary methods to make it not output anything when we disable the progress bar....
### Describe the issue: I'm running a model using a logistic saturation transformation followed by a delayed adstock transformation for a PYMC model. I have a burn-in period of 30...
updates: - [github.com/astral-sh/ruff-pre-commit: v0.4.1 → v0.4.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.4.1...v0.4.2) ---- 📚 Documentation preview 📚: https://pymc--7295.org.readthedocs.build/en/7295/