Skip to content

BinaryClassification Calibrators: Replace Preview API with IDataView based getter API. #3353

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

Merged
merged 4 commits into from
Apr 17, 2019

Conversation

codemzs
Copy link
Member

@codemzs codemzs commented Apr 16, 2019

towards #3350

@@ -54,18 +53,30 @@ public static void Example()
// Score 5.36571 Probability 0.9065308
}

private static void PrintRowViewValues(Microsoft.ML.Data.DataDebuggerPreview data)
private static void PrintRowViewValues(IDataView transformedData)
Copy link
Member

@wschin wschin Apr 16, 2019

Choose a reason for hiding this comment

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

There are four similar functions. Would it be better to use TT file? #Resolved

Copy link
Member Author

@codemzs codemzs Apr 17, 2019

Choose a reason for hiding this comment

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

Agreed, TT file would be ideal not just for these functions but for all four samples. It should be a task of its own and I'll open one. This particular issue addresses preview API usage. The reason I want to open a different task is because next few days the focus will be on documentation and I don't know if it make sense to prioritize rewriting these four samples with TT files given they are not broken. I'll still try to create TT files if I find time between documentation work. Thanks, @wschin and let me know your thoughts. #Resolved

Copy link
Member Author

Choose a reason for hiding this comment

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

Spoke with @wschin offline and he is fine with my above proposal.

Copy link
Member

@wschin wschin left a comment

Choose a reason for hiding this comment

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

Approved with some non-blocking comments.

@codecov
Copy link

codecov bot commented Apr 17, 2019

Codecov Report

Merging #3353 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3353      +/-   ##
==========================================
- Coverage   72.69%   72.69%   -0.01%     
==========================================
  Files         807      807              
  Lines      145172   145172              
  Branches    16225    16225              
==========================================
- Hits       105537   105533       -4     
- Misses      35221    35224       +3     
- Partials     4414     4415       +1
Flag Coverage Δ
#Debug 72.69% <ø> (-0.01%) ⬇️
#production 68.22% <ø> (-0.01%) ⬇️
#test 88.98% <ø> (ø) ⬆️
Impacted Files Coverage Δ
...c/Microsoft.ML.FastTree/Utils/ThreadTaskManager.cs 79.48% <0%> (-20.52%) ⬇️
src/Microsoft.ML.Maml/MAML.cs 24.75% <0%> (-1.46%) ⬇️
...soft.ML.TestFramework/DataPipe/TestDataPipeBase.cs 74.03% <0%> (+0.33%) ⬆️
src/Microsoft.ML.Transforms/Text/LdaTransform.cs 89.89% <0%> (+0.62%) ⬆️

Copy link

@shmoradims shmoradims left a comment

Choose a reason for hiding this comment

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

:shipit:

@codemzs codemzs merged commit 9b9fd6a into dotnet:master Apr 17, 2019
@ghost ghost locked as resolved and limited conversation to collaborators Mar 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants