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