pymc-examples
pymc-examples copied to clipboard
Update usage of pm.Bound for v4
https://github.com/pymc-devs/pymc3/pull/4815 changed how the pm.Bound API works, we need to find all instances where we use it and fix them.
This affects 2 notebooks:
- #270 https://github.com/pymc-devs/pymc-examples/blob/main/examples/case_studies/binning.ipynb
- #104 https://github.com/pymc-devs/pymc-examples/blob/main/examples/ode_models/ODE_API_introduction.ipynb
After https://github.com/pymc-devs/pymc/pull/6113, pm.Bound will be marked as deprecated. Examples that rely on it should switch to use of pm.Truncated or unbounded_distribution + interval transform (continuous) or potential (discrete) if the exact behavior of Bound is to be replicated (sampling in the truncated region without the renormalization term)