Skip to content
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

Saving models without using pickle? #555

Open
alechouse97 opened this issue May 7, 2024 · 1 comment
Open

Saving models without using pickle? #555

alechouse97 opened this issue May 7, 2024 · 1 comment
Labels

Comments

@alechouse97
Copy link

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!

@relf
Copy link
Member

relf commented May 7, 2024

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 relf added the question label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants