Using ABC with pm.Simulator

I have tried implementing the OED example shown in Sequential Monte Carlo - Approximate Bayesian Computation — PyMC3 3.11.5 documentation
there is no problem running the original code, but when I turned to ‘pymc’ instead of ‘pymc3’, the following error appears:

May I know what I can do to solve this? Thanks a lot!

The new version of that page is here.

1 Like