Closed kevinkhu closed 4 years ago
Thanks for reporting! I didn't do much testing with PyMC3 v3.9 and it seems to have introduced some regressions in the sample
function (I rely on undocumented features 😈). I'll take a look at this early next week. Can you try to remember to ping me if you don't hear anything by Wednesday morning?
In the meantime you should be able to use the old version (note xo
-> pm
):
np.random.seed(203771098)
with model:
trace = pm.sample(
tune=3500,
draws=3000,
start=map_soln,
chains=4,
step=xo.get_dense_nuts_step(target_accept=0.95),
)
Alas I didn't get to this yet. I'm going on holiday for the next few days, but I'll have a go early next week!
No worries, the old version hack works for now!
I finally (only a month late) released a new version of exoplanet that is compatible with PyMC > 3.9. I'm working on pulling out (and improving) some of this functionality here: https://github.com/exoplanet-dev/pymc3-ext
I've been adapting the "putting it all together" case study to work without RV data, and I ran into an issue at the sampling step, so I re-ran the tutorial without any modifications and ran into the same issue:
pip, exoplanet 0.3.2, PyMC3 3.9.2, Python 3.7.7, Ubuntu 20.04