2 writes to _context
Microsoft.ML.AutoML (2)
API\BinaryClassificationExperiment.cs (2)
366
_context
= contextManager.CreateMLContext();
377
_context
= null;
7 references to _context
Microsoft.ML.AutoML (7)
API\BinaryClassificationExperiment.cs (7)
376
_context
.CancelExecution();
385
var pipeline = _pipeline.BuildFromOption(
_context
, parameter);
395
var metrics =
_context
.BinaryClassification.CrossValidateNonCalibrated(datasetManager.Dataset, pipeline, fold, metricManager.LabelColumn);
423
var model = pipeline.Fit(trainTestDatasetManager.LoadTrainDataset(
_context
, settings));
424
var eval = model.Transform(trainTestDatasetManager.LoadValidateDataset(
_context
, settings));
425
var metrics =
_context
.BinaryClassification.EvaluateNonCalibrated(eval, metricManager.LabelColumn, predictedLabelColumnName: metricManager.PredictedColumn);
454
_context
?.CancelExecution();