Using quad from scipy.integrate with pymc RVs as parameter

You can have a look at this post, which has a theano integrateOut op which the use scope is also in PyMC3 https://stackoverflow.com/questions/42678490/custom-theano-op-to-do-numerical-integration/43154053

2 Likes