Open Peter-Devine opened 4 years ago
Hi, I have the same issue. Did you find out what the problem was ?
I guess u guys save the model with a wrong format.
Predictor seems only accept models saved by booster
if you use sklearn.joblib to save or directly pickle it down, it may cannot be loaded coz its formatting is not acceptable
@itmayi Hi, Did you find a workaround?
when i use XGBoostPredictor load one model to do a test, one exception happenned. How can i sovle it?
Exception in thread "main" java.io.IOException: Too long string: 7887331693998180980 at biz.k11i.xgboost.util.ModelReader.readString(ModelReader.java:185) at biz.k11i.xgboost.Predictor.readParam(Predictor.java:108) at biz.k11i.xgboost.Predictor.(Predictor.java:43)
at biz.k11i.xgboost.Predictor.(Predictor.java:26)
at HowToUseXgboostPredictor.main(HowToUseXgboostPredictor.java:16)