Hi Evan,
In PyStan 2.5.0.0 you can pickle the entire fit object which is probably the
easiest way to accomplish what you're after.
The other strategy I've encountered is to pickle the output of the extract()
method or save it to a numpy savez file.
Something along the lines of:
extr = fit.extract()
pickle.dump(extr, open("/tmp/fit.pkl", 'wb'))
I think the following would also work:
numpy.savez('/tmp/fit.npz', extr)
Best wishes,
Allen
> --
> You received this message because you are subscribed to the Google Groups "Stan users mailing list" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
stan-users+...@googlegroups.com.
> For more options, visit
https://groups.google.com/d/optout.