pymc-examples icon indicating copy to clipboard operation
pymc-examples copied to clipboard

Update usage of pm.Bound for v4

Open twiecki opened this issue 4 years ago • 2 comments

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.

twiecki avatar Aug 13 '21 15:08 twiecki

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

drbenvincent avatar Jun 11 '22 15:06 drbenvincent

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)

ricardoV94 avatar Sep 14 '22 10:09 ricardoV94