-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Added onnx export support for SlotsDroppingTransformer #4562
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
…ssifiers and calibrators due to problems resulting from upgrading the op set version to 11
Codecov Report
@@ Coverage Diff @@
## master #4562 +/- ##
==========================================
+ Coverage 75.64% 75.65% +<.01%
==========================================
Files 938 938
Lines 168618 168715 +97
Branches 18208 18219 +11
==========================================
+ Hits 127554 127642 +88
- Misses 36037 36046 +9
Partials 5027 5027
|
new CountFeatureSelectingEstimator.ColumnOptions("FeatureSelectDouble", "VectorDouble", count: 1), | ||
new CountFeatureSelectingEstimator.ColumnOptions("ScalFeatureSelectMissing690", "ScalarFloat", count: 690), | ||
new CountFeatureSelectingEstimator.ColumnOptions("ScalFeatureSelectMissing100", "ScalarFloat", count: 100), | ||
new CountFeatureSelectingEstimator.ColumnOptions("VecFeatureSelectMissing690", "VectorDouble", count: 690), |
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.
VecFeatureSelectMissing690 [](start = 66, length = 26)
Why such strange names?
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.
This work required the use of ConstantOfShape operator from onnx which has an attribute of type Tensor. Most operators have attributes that are of primitive types (int, float, etc). ML.NET Onnx converter coded didnt have support to add attributes of tensor types.
Therefore this PR includes the support for adding tensor type attributes along with the necessary code and tests for SlotsDroppingTransformer.