2 writes to _context
Microsoft.ML.AutoML (2)
API\RegressionExperiment.cs (2)
372
_context
= contextManager.CreateMLContext();
466
_context
= null;
7 references to _context
Microsoft.ML.AutoML (7)
API\RegressionExperiment.cs (7)
386
_context
?.CancelExecution();
392
var pipeline = _pipeline.BuildFromOption(
_context
, parameter);
400
var metrics =
_context
.Regression.CrossValidate(datasetManager.Dataset, pipeline, fold, metricManager.LabelColumn);
428
var model = pipeline.Fit(trainTestDatasetManager.LoadTrainDataset(
_context
, settings));
429
var eval = model.Transform(trainTestDatasetManager.LoadValidateDataset(
_context
, settings));
430
var metrics =
_context
.Regression.Evaluate(eval, metricManager.LabelColumn, scoreColumnName: metricManager.ScoreColumn);
465
_context
.CancelExecution();