You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, and thank you for your work on this great library!
I'm seeing a pretty big difference in probabilities when using CalibratedClassifierCV with isotonic regression together with RandomForestClassifier.
It seems like it's only happening when the max_depth parameter is set high enough.
I've provided a small snippet to reproduce the issue, with the following versions of libraries:
> Mismatched elements: 4485 / 400000 (1.12%)
Max absolute difference among violations: 0.01261032
Max relative difference among violations: 0.11618411
I see that IsotonicRegression is not supported on https://onnx.ai/sklearn-onnx/supported.html but I would think CalibratedClassifierCV with both methods would be supported.
The text was updated successfully, but these errors were encountered:
It is supported otherwise you would have a bigger number of mismatched. The issue probably comes from the user of float in the trees instead of double. You can read this to understand where it comes from: https://onnx.ai/sklearn-onnx/auto_tutorial/plot_ebegin_float_double.html. We should implement the latest onnx standard to fix that.
Hello, and thank you for your work on this great library!
I'm seeing a pretty big difference in probabilities when using
CalibratedClassifierCV
with isotonic regression together withRandomForestClassifier
.It seems like it's only happening when the
max_depth
parameter is set high enough.I've provided a small snippet to reproduce the issue, with the following versions of libraries:
scikit-learn==1.6.0
skl2onnx==1.18.0
onnxruntime==1.20.1
The result is:
> Mismatched elements: 4485 / 400000 (1.12%) Max absolute difference among violations: 0.01261032 Max relative difference among violations: 0.11618411
I see that IsotonicRegression is not supported on https://onnx.ai/sklearn-onnx/supported.html but I would think CalibratedClassifierCV with both methods would be supported.
The text was updated successfully, but these errors were encountered: