SMC questions: start values

Great, thanks. I imagine there a special call for loading the netCDF file as a PyMC3 trace?

edit: sorry nevermind, from_netcdf works just fine, the issue was in my code
edit: although, I get TypeError: ‘InferenceData’ object is not subscriptable. I’ll look into the current PyMC3 version to see how netCDF files are implemented
edit: if I understand correctly, once the inference is over, one can do az.data.convert_to_inference_data to convert the trace to the arviz format. However, I’m not sure anymore how to do things like pm.sample_posterior_predictive from a loaded trace
final edit: ok, using convert_to_inference_data once inference is done, modifying the code to use this format instead, and I see that the inference data format is handled in the current git version for sample_posterior_predictive. So I guess that answers all my questions. I’ll start making my code ready for the next PyMC3 version

1 Like