-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Added in new MissingValueReplacing method. #5205
Added in new MissingValueReplacing method. #5205
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5205 +/- ##
==========================================
+ Coverage 73.08% 73.57% +0.49%
==========================================
Files 1004 1016 +12
Lines 187398 190214 +2816
Branches 20212 20456 +244
==========================================
+ Hits 136952 139952 +3000
+ Misses 44929 44687 -242
- Partials 5517 5575 +58
|
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.
🕐
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.
/// <summary> | ||
/// Replace with the most frequent value of the column. | ||
/// </summary> | ||
Mode = 5 |
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.
Why did we skip 4
here? It went from 0, 1, 2, 3 and then jumped to 5.
Adds in the missing values replacing method of
Mode
. Replaces missing values with the most frequent value in a column. In the case that multiple values have the same count, the first one encountered is the one that is returned.This also moves a test helping method from OnnxConverstionTest.cs into the BaseTestBaseline class so that every test class can use it.