Rémi Lafage

Results 92 comments of Rémi Lafage

Yes, it works, thanks! I am wondering how you found that list of bound spells though! :smile: I still have to try this with `linfa` :sweat_smile:. Thanks again.

Could you show your code for pickling? Have you got an error?

Ok. That was fixed recently for Kriging based surrogates at least (see #154). So you have to install SMT from GitHub.

I've just released SMT 0.3.3, you can try it with: pip install -U smt Regarding, IDW and RBF, do you get an error? I am not sure but I think...

My bad. Indeed it does not work for IDW and RBF and other surrogates using a Cython extensions. Those require special handling (see [stackoverflow related question](https://stackoverflow.com/questions/12646436/pickle-cython-class)).

> But if I save KPLS, do I need to retrain the model or can I load directly to predict new points? Because I am not able to do that....

@ldallen-crrel No, we have not work specifically on surrogates dump, I've just referenced the link I found after a 2-minutes search. I've started to make pickling work for kriging-based ones...

Nothing has evolved on this point. You get an error as it is not implemented (hence the open status of this issue). As far as I am concerned, I do...

Bumping on this again, for future reference, note that even if they can not be pickled directly, RBF, IDW, RMTS (like QP and LS) training operation can be cached. These...

A [section on this topic](https://smt.readthedocs.io/en/latest/_src_docs/surrogate_models.html#how-to-save-and-load-trained-surrogate-models) is added to the documentation.