-
Notifications
You must be signed in to change notification settings - Fork 1.9k
NormalizeMinMax Multicolumn example #4644
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.
I've added a few corrects and comments. Please feel free to reach out if anything is unclear
docs/samples/Microsoft.ML.Samples/Dynamic/Transforms/NormalizeMinMaxMulticolumn.cs
Show resolved
Hide resolved
docs/samples/Microsoft.ML.Samples/Dynamic/Transforms/NormalizeMinMaxMulticolumn.cs
Outdated
Show resolved
Hide resolved
docs/samples/Microsoft.ML.Samples/Dynamic/Transforms/NormalizeMinMaxMulticolumn.cs
Outdated
Show resolved
Hide resolved
docs/samples/Microsoft.ML.Samples/Dynamic/Transforms/NormalizeMinMaxMulticolumn.cs
Outdated
Show resolved
Hide resolved
docs/samples/Microsoft.ML.Samples/Dynamic/Transforms/NormalizeMinMaxMulticolumn.cs
Outdated
Show resolved
Hide resolved
// 0.0000, 0.0000, 0.3333, 0.0000 0.6667, 1.0000, 1.0000 | ||
// -0.5000, -0.5000, -0.3333, 1.0000 1.0000, 0.0000, 0.5000 | ||
|
||
// Let's get transformation parameters. Since we work with only one |
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.
Since we work with only one -> Since there is only one
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.
Don't we have two columns here? Features and Features2?
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.
Updated the wording of the comment, but I'll need to see how the formula changes since there are two columns instead of one.
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.
@natke Thanks for the review! Made most of the changes, but I would need to update the last output for the formula since there are now two columns.
Codecov Report
@@ Coverage Diff @@
## master #4644 +/- ##
=======================================
Coverage 75.84% 75.84%
=======================================
Files 947 947
Lines 172170 172170
Branches 18576 18576
=======================================
Hits 130585 130585
Misses 36416 36416
Partials 5169 5169
|
docs/samples/Microsoft.ML.Samples/Dynamic/Transforms/NormalizeMinMaxMulticolumn.cs
Show resolved
Hide resolved
@jwood803 please pull master, so that you have this commit. Then the tests that fail randomly should pass, so we can merge your PR. |
@natke does this look good to you? If so, let's try to merge this before release so that the example shows up in the docs. |
Update for #3436 for the NormalizeMinMax transform.
@sfilipi Took a shot at adding a multicolumn sample. If this is on the right track, I can help with some of the others.