Skip to content

Conversation

@artidoro
Copy link
Contributor

Fixes #2554.

As discussed in the issue, we decided to rename ColumnInfo to ColumnOptions.
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.

@artidoro artidoro self-assigned this Feb 25, 2019
@artidoro artidoro added the API Issues pertaining the friendly API label Feb 25, 2019
}

public sealed class ColumnInfo
public sealed class ColumnOptions
Copy link
Contributor

@Ivanidzo4ka Ivanidzo4ka Feb 25, 2019

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

Copy link
Member

@sfilipi sfilipi Feb 25, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 :)
But I guess if it is done, doesn't hurt.


In reply to: 259962854 [](ancestors = 259962854)

Copy link
Contributor Author

@artidoro artidoro Feb 25, 2019

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
Copy link

codecov bot commented Feb 25, 2019

Codecov Report

Merging #2709 into master will decrease coverage by 0.01%.
The diff coverage is 88.92%.

@@            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
Flag Coverage Δ
#Debug 71.66% <88.92%> (-0.02%) ⬇️
#production 67.91% <81.07%> (-0.02%) ⬇️
#test 85.83% <99.57%> (ø) ⬆️
Impacted Files Coverage Δ
...Microsoft.ML.Data/Transforms/NormalizeColumnDbl.cs 66.3% <ø> (ø) ⬆️
...Microsoft.ML.Data/Transforms/NormalizeColumnSng.cs 72.89% <ø> (ø) ⬆️
src/Microsoft.ML.HalLearners/HalLearnersCatalog.cs 94.28% <ø> (ø) ⬆️
src/Microsoft.ML.Transforms/CategoricalCatalog.cs 80% <ø> (ø) ⬆️
src/Microsoft.ML.Transforms/ProjectionCatalog.cs 50% <ø> (ø) ⬆️
src/Microsoft.ML.PCA/PCACatalog.cs 53.84% <ø> (ø) ⬆️
test/Microsoft.ML.Benchmarks/HashBench.cs 0% <0%> (ø) ⬆️
...ft.ML.StaticPipe/WordEmbeddingsStaticExtensions.cs 0% <0%> (ø) ⬆️
...Microsoft.ML.Transforms/LearnerFeatureSelection.cs 0% <0%> (ø) ⬆️
src/Microsoft.ML.Transforms/Text/TextCatalog.cs 30.43% <0%> (ø) ⬆️
... and 77 more

namespace Microsoft.ML
{
public sealed class SimpleColumnInfo
public sealed class ColumnOptions
Copy link
Member

@sfilipi sfilipi Feb 25, 2019

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.

Copy link
Contributor Author

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.

Copy link
Member

@sfilipi sfilipi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

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),
Copy link
Contributor Author

@artidoro artidoro Feb 25, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Update the cookbook #Resolved

Copy link
Contributor

@Ivanidzo4ka Ivanidzo4ka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@artidoro artidoro merged commit 27f48b6 into dotnet:master Feb 27, 2019
@artidoro artidoro deleted the columnoption branch March 13, 2019 17:55
@ghost ghost locked as resolved and limited conversation to collaborators Mar 24, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

API Issues pertaining the friendly API

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants