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
I was trying to see how I would write a custom parser to make it so that a model converted from xgboost classifier could only return probabilities, not the standard label and dictionary of probabilities. I eventually realized it didn't matter what I passed to custom_parsers in convert_sklearn, it returned the same output.
Diving into the code I noticed that, unless I'm missing something, this custom_parsers argument is unused in the parse_sklearn_simple_function.
Is there intention to make use of this parameter? Should it be removed or perhaps an error thrown that custom parsers are currently unsupported?
Hello there,
I was trying to see how I would write a custom parser to make it so that a model converted from xgboost classifier could only return probabilities, not the standard label and dictionary of probabilities. I eventually realized it didn't matter what I passed to custom_parsers in convert_sklearn, it returned the same output.
Diving into the code I noticed that, unless I'm missing something, this custom_parsers argument is unused in the parse_sklearn_simple_function.
Is there intention to make use of this parameter? Should it be removed or perhaps an error thrown that custom parsers are currently unsupported?
sklearn-onnx/skl2onnx/_parse.py
Line 104 in 99939ef
The text was updated successfully, but these errors were encountered: