Updating priors

I am trying to reproduce the “Updating priors” example in pymc4. The current example is still in pymc3. I believe a few lines needs to change around “trace” and interpolation. Would appreciate what the code should look like in pymc4 to make the “updating priors” example work.


There are some issues (not very relevant for that particular model in the example but that make it hard for the method discussed to be generalized), I covered them a bit in Some dimensionality devils | Oriol unraveled. I’d recommend rewriting it from scratch using the new API Reference — pymc_experimental 0.0.1 documentation.

thank you.