2 writes to _mLContext
Microsoft.ML.AutoML (2)
AutoMLExperiment\Runner\SweepablePipelineRunner.cs (2)
28
_mLContext
= context;
119
_mLContext
= null;
9 references to _mLContext
Microsoft.ML.AutoML (9)
AutoMLExperiment\Runner\SweepablePipelineRunner.cs (9)
40
var mlnetPipeline = _pipeline.BuildFromOption(
_mLContext
, parameter);
43
var datasetSplit =
_mLContext
!.Data.CrossValidationSplit(crossValidateDatasetManager.Dataset, crossValidateDatasetManager.Fold, crossValidateDatasetManager.SamplingKeyColumnName);
51
mlnetPipeline = _pipeline.BuildFromOption(
_mLContext
, parameter);
54
metrics.Add(_metricManager.Evaluate(
_mLContext
, eval));
75
var model = mlnetPipeline.Fit(trainTestDatasetManager.LoadTrainDataset(
_mLContext
!, settings));
76
var eval = model.Transform(trainTestDatasetManager.LoadValidateDataset(
_mLContext
!, settings));
77
var metric = _metricManager.Evaluate(
_mLContext
, eval);
100
_mLContext
?.CancelExecution();
118
_mLContext
!.CancelExecution();