-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Enable OnnxTransformer to accept KeyDataViewTypes as if they were UInt32 #4824
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you please add a test and also a comment in the code describing the scenario this is necessary for?
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Addresses microsoft/NimbusML#426
As discussed offline with @harishsk , @ganik and @pieths , the update in here is the best temporary solution to the problem.
Simply enables OnnxTransformer to accept a
KeyDataViewType
column as input of a model that actually expects anUInt32
input column. This, because of the way that NimbusML works with Category columns in Pandas' DataFrames, by converting them intoKeyDataViewType
columns in ML.NET, without actually adding KeyToValueTransformers into the pipeline.