Open xiaohk opened 2 years ago
Thanks for sharing the code was. I was able to replicate the issue. The bug happens when base_score
is specified. It needs a fix into onnxmltools.
Thanks @xadupre! Should I open a new issue in onnxmltools?
I created a PR on onnxmltools to fix the issue.
Describe the bug
I am converting a simple XGBoost model to ONNX format. However, the results of the ONNX model mismatch the original model, yielding way worse performance.
Urgency
Quite urgent. This bug can cause harm if people deploy their XGBoost model in ONNX format without noticing this error.
System information
To Reproduce
convert_xgboost
InferenceSession
This bug is reproduced in this Colab notebook
Expected behavior
I expect the results of the ONNX model to match the original XGBoost model.
Screenshots
See this Colab notebook