-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Renaming ColumnInfo to ColumnOptions #2709
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
@@ -94,14 +94,14 @@ internal RowInfo(int n) | |||
} | |||
} | |||
|
|||
public sealed class ColumnInfo | |||
public sealed class ColumnOptions |
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.
ColumnOptions [](start = 28, length = 13)
Why? #Resolved
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.
Will revert that.
#Resolved
Codecov Report
@@ Coverage Diff @@
## master #2709 +/- ##
==========================================
- Coverage 71.67% 71.66% -0.02%
==========================================
Files 808 808
Lines 142364 142364
Branches 16121 16121
==========================================
- Hits 102043 102025 -18
- Misses 35879 35901 +22
+ Partials 4442 4438 -4
|
@@ -9,24 +9,24 @@ | |||
|
|||
namespace Microsoft.ML | |||
{ | |||
public sealed class SimpleColumnInfo | |||
public sealed class ColumnOptions |
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.
ColumnOptions [](start = 24, length = 13)
SimpleColumnOptions, or complete renamind was intentional.
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.
It was intentional, why do you think that SimpleColumnOptions
is better?
I thought that for consistency it was better like this.
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.
new NormalizingEstimator.MinMaxColumn("MinMaxNormalized", "Features", fixZero: true), | ||
new NormalizingEstimator.MeanVarColumn("MeanVarNormalized", "Features", fixZero: true), | ||
new NormalizingEstimator.BinningColumn("BinNormalized", "Features", numBins: 256)); | ||
new NormalizingEstimator.MinMaxColumnOptions("MinMaxNormalized", "Features", fixZero: true), |
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.
Update the cookbook #Resolved
401b86b
to
7124b4a
Compare
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.
7124b4a
to
0ed9ec2
Compare
Fixes #2554.
As discussed in the issue, we decided to rename
ColumnInfo
toColumnOptions
.I used Visual Studio to find and replace instances of
ColumnInfo
. I did an operation of find and replace for each different casing. I also went over the changes to double check.