while using pm.sample_posterior_predictive() for GP tuning, I am getting following error:
sample_posterior_predictive() got an unexpected keyword argument ‘vars’.
Kindly help
Saurav
while using pm.sample_posterior_predictive() for GP tuning, I am getting following error:
sample_posterior_predictive() got an unexpected keyword argument ‘vars’.
Kindly help
Saurav
vars
was deprecated quite a while ago, and removed a couple releases back. You have to use var_names
which takes strings that should match the names assigned to pymc distributions: Inference — PyMC3 3.11.4 documentation