1 implementation of IMLContextManager
Microsoft.ML.AutoML (1)
AutoMLExperiment\IMLContextManager.cs (1)
23internal class DefaultMLContextManager : IMLContextManager
9 references to IMLContextManager
Microsoft.ML.AutoML (9)
API\BinaryClassificationExperiment.cs (2)
360private readonly IMLContextManager _contextManager; 364public BinaryClassificationRunner(IMLContextManager contextManager, IDatasetManager datasetManager, IMetricManager metricManager, SweepablePipeline pipeline, AutoMLExperiment.AutoMLExperimentSettings settings)
API\MulticlassClassificationExperiment.cs (2)
346private readonly IMLContextManager _contextManager; 350public MulticlassClassificationRunner(IMLContextManager contextManager, IDatasetManager datasetManager, IMetricManager metricManager, SweepablePipeline pipeline, AutoMLExperiment.AutoMLExperimentSettings settings)
API\RegressionExperiment.cs (2)
366private readonly IMLContextManager _contextManager; 370public RegressionTrialRunner(IMLContextManager contextManager, IDatasetManager datasetManager, IMetricManager metricManager, SweepablePipeline pipeline, AutoMLExperiment.AutoMLExperimentSettings settings)
AutoMLExperiment\AutoMLExperiment.cs (3)
63var contextManager = provider.GetRequiredService<IMLContextManager>(); 71_serviceCollection.TryAddSingleton<IMLContextManager>(new DefaultMLContextManager(_context, $"{nameof(AutoMLExperiment)}-ChildContext"));