Closed jjramsey closed 2 years ago
We will look into this. Thank you.
Hi JJ, Upon investigation, it seems that the manner in which the Kriging class is coded makes it incompatible with pickle. I believe this is due to certain nested loops, but @mohitcek can provide a more detailed explanation. This is something we will be working to correct. We agree that it is important for Kriging objects to be pickleable, but it will take some time to restructure the code. Thank you. Michael
We have corrected this issue for the upcoming Version 4 release, so we are closing this issue.
I can successfully create and use a Kriging surrogate model in UQPy, but I can't save it to a pickle file. When I try, I get the following error message:
A workaround for this is to use the third-party module
dill
instead of the standard modulepickle
, but it would be nice to not need to do that.