You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I had saved a tidymodel workflow using Xgboost 1.5.2.1 in rdata file using the save() function.
recently i was forced to passe to xgboost 1.7.8.1
I was able to load the workflow and make prediction
but having some warning (see below) when using the predict function recommending to :
export the model by calling Booster.save_model from the old version first, then load it back in current version
which will not save the workflow ...
What is the best way to save and load a workflow implementing Xgboost 1.5.2.1
[12:47:27] WARNING: src/learner.cc:1203:
If you are loading a serialized model (like pickle in Python, RDS in R) generated by
older XGBoost, please export the model by calling `Booster.save_model` from that version
first, then load it back in current version. See:
https://xgboost.readthedocs.io/en/latest/tutorials/saving_model.html
for more details about differences between saving model and serializing.
[12:47:27] WARNING: src/learner.cc:888: Found JSON model saved before XGBoost 1.6, please save the model using current version again. The support for old JSON model will be discontinued in XGBoost 2.3.
[12:47:27] WARNING: src/learner.cc:553:
If you are loading a serialized model (like pickle in Python, RDS in R) generated by
older XGBoost, please export the model by calling `Booster.save_model` from that version
first, then load it back in current version. See:
https://xgboost.readthedocs.io/en/latest/tutorials/saving_model.html
for more details about differences between saving model and serializing.
The text was updated successfully, but these errors were encountered:
Hello,
I had saved a tidymodel workflow using
Xgboost 1.5.2.1
in rdata file using thesave()
function.recently i was forced to passe to
xgboost 1.7.8.1
I was able to load the workflow and make prediction
but having some warning (see below) when using the
predict
function recommending to :export the model by calling
Booster.save_model
from the old version first, then load it back in current versionwhich will not save the workflow ...
What is the best way to save and load a workflow implementing
Xgboost 1.5.2.1
The text was updated successfully, but these errors were encountered: