dmitryikh / leaves

pure Go implementation of prediction part for GBRT (Gradient Boosting Regression Trees) models from popular frameworks
MIT License
419 stars 72 forks source link

Leaves can't load xgboost model which trained for java api? #59

Open lindaqiang opened 5 years ago

lindaqiang commented 5 years ago

when I load xgboost model return errs,model is trained for xgboost4j。

lindaqiang commented 5 years ago

I use the Python interface to read the Java-trained model and save it. Leaves also can't read it. I see that the reason for the error is that NUM_ROOT is 0. image