forked from onnx/onnxmltools
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix conversion of Booster for xgboost>=1.6.1 (onnx#567)
* fix base_score for binary classification Signed-off-by: xadupre <[email protected]> * Update for xgboost 1.6.1 Signed-off-by: xadupre <[email protected]> * update ci Signed-off-by: xadupre <[email protected]> * fix for catboost Signed-off-by: xadupre <[email protected]> * fix for svm Signed-off-by: xadupre <[email protected]> * lint Signed-off-by: xadupre <[email protected]>
- Loading branch information
Showing
6 changed files
with
95 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,11 +15,19 @@ jobs: | |
strategy: | ||
matrix: | ||
|
||
Python39-1120-RT1110: | ||
Python39-1120-RT1110-xgb161: | ||
python.version: '3.9' | ||
ONNX_PATH: 'onnx==1.12.0' #'-i https://test.pypi.org/simple/ onnx==1.12.0rc4' | ||
ONNXRT_PATH: onnxruntime==1.11.0 #'-i https://test.pypi.org/simple/ ort-nightly==1.11.0.dev20220311003' | ||
COREML_PATH: git+https://github.com/apple/[email protected] | ||
xgboost.version: '>=1.6.1' | ||
|
||
Python39-1120-RT1110-xgb142: | ||
python.version: '3.9' | ||
ONNX_PATH: 'onnx==1.12.0' #'-i https://test.pypi.org/simple/ onnx==1.12.0rc4' | ||
ONNXRT_PATH: onnxruntime==1.11.0 #'-i https://test.pypi.org/simple/ ort-nightly==1.11.0.dev20220311003' | ||
COREML_PATH: git+https://github.com/apple/[email protected] | ||
xgboost.version: '==1.4.2' | ||
|
||
Python39-1110-RT1110: | ||
python.version: '3.9' | ||
|
@@ -126,7 +134,10 @@ jobs: | |
export PYTHONPATH=. | ||
python -c "import onnxruntime;print('onnx:',onnx.__version__)" | ||
python -c "import onnxconverter_common;print('cc:',onnxconverter_common.__version__)" | ||
python -c "import onnx;print('onnx:',onnx.__version__)" | ||
python -c "import onnxruntime;print('ort:',onnxruntime.__version__)" | ||
python -c "import xgboost;print('xgboost:',xgboost.__version__)" | ||
python -c "import lightgbm;print('lightgbm:',lightgbm.__version__)" | ||
displayName: 'version' | ||
- script: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters