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(); 385var pipeline = _pipeline.BuildFromOption(_context, parameter); 395var metrics = _context.BinaryClassification.CrossValidateNonCalibrated(datasetManager.Dataset, pipeline, fold, metricManager.LabelColumn); 423var model = pipeline.Fit(trainTestDatasetManager.LoadTrainDataset(_context, settings)); 424var eval = model.Transform(trainTestDatasetManager.LoadValidateDataset(_context, settings)); 425var metrics = _context.BinaryClassification.EvaluateNonCalibrated(eval, metricManager.LabelColumn, predictedLabelColumnName: metricManager.PredictedColumn); 454_context?.CancelExecution();