leaves icon indicating copy to clipboard operation
leaves copied to clipboard

Support for newer versions of XGBoost

Open Ponewor opened this issue 4 years ago • 2 comments

Something has changed in XGBoost model's binary format. The highest versions I've managed to make leaves work with is 1.0. Starting from 1.1+ I keep getting "panic: unexpected EOF". Is support for newer versions planned? Moreover, they've started to save models in JSON format and it looks like they're going to deprecate binaries altogether.

Ponewor avatar Jan 22 '21 06:01 Ponewor

Same error here with XGB 1.3.3. This fails.

image image

Size is too large here: image

@dmitryikh, I think format for XGB binary changed.

nikolaydubina avatar Feb 09 '21 13:02 nikolaydubina

Might be better to add support for JSON? https://xgboost.readthedocs.io/en/latest/tutorials/saving_model.html

nikolaydubina avatar Feb 09 '21 13:02 nikolaydubina