-
-
Notifications
You must be signed in to change notification settings - Fork 70
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
Save/load generated surrogate model #389
Comments
Can you please share your full minimum working example so that we can examine it more carefully? Also, can you try with some other surrogate like Radial Basis? |
@vikram-s-narayan
PolynomialChaos model works fine, so I think Radial basis should be ok too. |
Thanks. With the code you provided the error reads - "ERROR: Call to XGBoost C function XGBoosterPredict failed: ". This appears to be a known issue with XGBoost. One of the package dependencies in SurrogatesRandomForest is XGBoost. |
@vikram-s-narayan If I understand it correctly, the solution is replacing XGBoost by EvoTrees.jl in Surrogates.jl? |
@jacktang - I'm not sure if there are any other dependencies involved and whether the function calls need to be changed. |
Hi,
I want to save/load the surrogate model using JLD2 and BSON, and find the packages can only serialize objects rather than function. So if I load the saved model, it throws error:
BTW: the question on julialang discourse: https://discourse.julialang.org/t/save-and-load-the-model-generated-by-surrogates-jl/83302
The text was updated successfully, but these errors were encountered: