smt icon indicating copy to clipboard operation
smt copied to clipboard

Saving models without using pickle?

Open alechouse97 opened this issue 9 months ago • 1 comments

Hello, is there any other way to save a (kriging) model without using pickle?

If not, for KrgBased models, which attributes would need to be saved and then "re-loaded" to be able to predict new values?

Thanks!

alechouse97 avatar May 07 '24 13:05 alechouse97

Hi. No there is no native implementation of save/load for kriging-based models in SMT (see also the doc).

But I guess you already know that 😉 which leads to your second question. To implement such feature you have to parse mainly _predict_values() and possibly predict_values() for self.attribute constructions to get them.

relf avatar May 07 '24 14:05 relf