Skip to content

XML for MLContext.Model (root) #3451

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 2 commits into from
Apr 21, 2019
Merged

Conversation

shmoradims
Copy link

Most APIs have been covered by Tom already. Just added the one missing one.

…P4 API, and we rarely use it even in our codebase. So we don't have samples for it.
@codecov
Copy link

codecov bot commented Apr 21, 2019

Codecov Report

Merging #3451 into master will increase coverage by 0.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3451      +/-   ##
==========================================
+ Coverage   72.76%   72.78%   +0.01%     
==========================================
  Files         808      808              
  Lines      145452   145452              
  Branches    16244    16244              
==========================================
+ Hits       105842   105866      +24     
+ Misses      35189    35163      -26     
- Partials     4421     4423       +2
Flag Coverage Δ
#Debug 72.78% <ø> (+0.01%) ⬆️
#production 68.29% <ø> (+0.02%) ⬆️
#test 89.04% <ø> (ø) ⬆️
Impacted Files Coverage Δ
.../Microsoft.ML.Data/Model/ModelOperationsCatalog.cs 91.73% <ø> (ø) ⬆️
...ML.Transforms/Text/StopWordsRemovingTransformer.cs 86.26% <0%> (+0.15%) ⬆️
...soft.ML.Data/DataLoadSave/Text/TextLoaderCursor.cs 84.9% <0%> (+0.2%) ⬆️
src/Microsoft.ML.Maml/MAML.cs 26.21% <0%> (+1.45%) ⬆️
src/Microsoft.ML.Core/Data/ProgressReporter.cs 77.94% <0%> (+6.98%) ⬆️

Copy link
Contributor

@artidoro artidoro left a comment

Choose a reason for hiding this comment

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

🕐

Copy link
Contributor

@artidoro artidoro left a comment

Choose a reason for hiding this comment

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

:shipit:

@@ -317,6 +317,15 @@ public ITransformer LoadWithDataLoader(string filePath, out IDataLoader<IMultiSt
return transformer.CreatePredictionEngine<TSrc, TDst>(_env, ignoreMissingColumns, inputSchemaDefinition, outputSchemaDefinition);
}

/// <summary>
/// Create a prediction engine for one-time prediction.
/// It's mainly used in conjunction with <see cref="Load(Stream, out DataViewSchema)"/>,
Copy link
Contributor

Choose a reason for hiding this comment

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

It's [](start = 12, length = 4)

nit: This overload is generally used ...

@shmoradims shmoradims merged commit 4824f42 into dotnet:master Apr 21, 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