Closed FrancescMartiEscofetQC closed 2 months ago
By default Adaboost is using a decision tree and it is a non continuous function. It introduces discrepancies when switching double to float. onnxruntime still does not support the last onnx standard for trees. I'll try to minimize this. See https://onnx.ai/sklearn-onnx/auto_tutorial/plot_ebegin_float_double.html for more details.
I'll close the issue. Feel free to reopen it.
When converting a trained
AdaBoostClassifier
with 2 classes the output probabilities don't match the ones computed by the model:Code
This fails:
If the output has more classes the converter works fine.
Versions: skl2onnx: 1.17.0 sklearn: 1.5.1 python: 3.12.4