2 writes to _context
Microsoft.ML.AutoML (2)
API\MulticlassClassificationExperiment.cs (2)
352
_context
= contextManager.CreateMLContext();
464
_context
= null;
7 references to _context
Microsoft.ML.AutoML (7)
API\MulticlassClassificationExperiment.cs (7)
365
var pipeline = _pipeline.BuildFromOption(
_context
, parameter);
373
var metrics =
_context
.MulticlassClassification.CrossValidate(datasetManager.Dataset, pipeline, fold, metricManager.LabelColumn);
401
var model = pipeline.Fit(trainTestDatasetManager.LoadTrainDataset(
_context
, settings));
402
var eval = model.Transform(trainTestDatasetManager.LoadValidateDataset(
_context
, settings));
403
var metrics =
_context
.MulticlassClassification.Evaluate(eval, metricManager.LabelColumn, predictedLabelColumnName: metricManager.PredictedColumn);
432
_context
?.CancelExecution();
463
_context
.CancelExecution();