4 instantiations of ModelContainer
Microsoft.ML.AutoML (4)
Experiment\Runners\RunnerUtil.cs (2)
42
new
ModelContainer
(context, model) :
43
new
ModelContainer
(context, modelFileInfo, model, modelInputSchema);
Utils\BestResultUtil.cs (2)
104
var modelContainer = new
ModelContainer
(context, result.Model);
116
var crossValidationResult = result.CrossValidationMetrics.Select(m => new TrainResult<TMetrics>(new
ModelContainer
(context, m.Model), m.Metrics, result.Exception));
13 references to ModelContainer
Microsoft.ML.AutoML (13)
API\RunDetails\CrossValidationRunDetail.cs (2)
66
private readonly
ModelContainer
_modelContainer;
68
internal TrainResult(
ModelContainer
modelContainer,
API\RunDetails\RunDetail.cs (2)
50
private readonly
ModelContainer
_modelContainer;
55
ModelContainer
modelContainer,
Experiment\Runners\CrossValSummaryRunner.cs (2)
56
var trainResults = new List<(
ModelContainer
model, TMetrics metrics, Exception exception, double score)>();
80
var
bestModel = trainResults.ElementAt(bestFoldIndex).model;
Experiment\Runners\RunnerUtil.cs (2)
13
public static (
ModelContainer
model, TMetrics metrics, Exception exception, double score)
41
var
modelContainer = modelFileInfo == null ?
Experiment\SuggestedPipelineRunDetails\SuggestedPipelineCrossValRunDetail.cs (2)
14
public readonly
ModelContainer
ModelContainer;
18
internal SuggestedPipelineTrainResult(
ModelContainer
modelContainer,
Experiment\SuggestedPipelineRunDetails\SuggestedPipelineRunDetail.cs (2)
38
public readonly
ModelContainer
ModelContainer;
44
ModelContainer
modelContainer,
Utils\BestResultUtil.cs (1)
104
var
modelContainer = new ModelContainer(context, result.Model);