-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Converting sklearn pipelines with ebm models to onnx #9
Comments
I may have jumped into this too fast, and will update if I get this working. I think I can register this converter and make it work, as documented here: https://onnx.ai/sklearn-onnx/pipeline.html |
Yeah, looks like some additional work would be needed. It would be great to have this included in ebm2onnx. |
Yes, this is something that would be great to have. I will look further in the sklearn documentation but according to the link you provided, we just need to register the ebm converter: Then, skl2onnx should be able to convert the whole pipeline including the ebm model. |
That makes complete sense. After poking around a bit, I figured that it likely wouldn't end up in ebm2onnx, but instead need to be registered. Hopefully that's something that could happen - it would be an awesome add. |
Hello @ReneeErnst I have something working. |
Sure - go for it! |
Release v3.3.0 contains an initial support for scikit-learn pipelines. |
Description
Feature request: Ability to use EBM models in Sklearn pipelines, and be able to convert that pipeline to ONNX. Would require some work to be able to register the model when using sklearn-onnx.
I want to save a sklearn pipeline that includes an EBM model to ONNX, rather than JUST the EBM model. This is a common use case where you want to pair your data processing with the model object in a pipeline. It does not appear that this functionality is included at this time.
Ideally ebm2onnx would have functionality to handle saving these pipelines that include ebm models to onnx. Example script that would ideally work below.
What I Did
The text was updated successfully, but these errors were encountered: