CopticScriptorium / coptic-nlp

Coptic NLP pipeline page and utilities
Apache License 2.0
14 stars 5 forks source link

xgboost<1 needed #32

Closed KoichiYasuoka closed 2 years ago

KoichiYasuoka commented 2 years ago

With xgboost 1.0.0 and later I've got an error message below:

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.

And I can use scikit-learn 0.22, but scikit-learn 0.23 does not have joblib at

from sklearn.externals import joblib
amir-zeldes commented 2 years ago

Thanks for catching this. I think xgboost should be 0.81 for this model, but maybe we will upgrade to the latest xgboost and retrain the model in the future.