-
Notifications
You must be signed in to change notification settings - Fork 201
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Posterior predictive sampling fails when seasonality is true and pm.set_data()
is used
#1218
Comments
Note that at the time of writing it's not entirely clear from the linked discussion whether OP's problem ( The quote comes from my response there and just describes why I saw the same exception when loading a model from 0.7.0 in 0.10.0. Whether that is a bug depends on whether compatibility between these versions' models is intended or not, I suppose. |
Hi @JnsLns |
@wd60622 I do not experience it when creating/fitting the model in 0.10.0. I haven't had the opportunity to try what happens when I load that model, though I suspect it will work. Note that I serialize models without using the inbuilt save/load functionality, so it does not have to do with those. In my opinion, as concerns loading models, the question boils down to whether backward compatibility is intended. Why the error appears seems clear: 0.7.0 does not create a model variable that 0.10.0 expects. But I suspect what prompted the discussion linked by @cluhmann had a different (but maybe related) origin. |
We use the save and load methods to check backwards compatibility. I am hearing you were using another way to load model, is that correct? |
That's correct, I use dill to serialize the model. I see that I could probably simply save the inference data from my 0.7.0 serialized model to netcdf and pass it to the load method to recreate the model in 0.10.0. I may try later. |
Yes, I am sure you can port the idata with a little wrangling then attach to new model object. Then save again. However, I am not exactly sure what you did, so it is hard to say for sure |
To quote from the issue highlighted here:
The text was updated successfully, but these errors were encountered: