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