1 write to _trainedModel
Microsoft.ML.PerformanceTests (1)
StochasticDualCoordinateAscentClassifierBench.cs (1)
126_trainedModel = Train(_dataPath);
5 references to _trainedModel
Microsoft.ML.PerformanceTests (5)
StochasticDualCoordinateAscentClassifierBench.cs (5)
127_predictionEngine = _mlContext.Model.CreatePredictionEngine<IrisData, IrisPrediction>(_trainedModel); 146_scoredIrisTestData = _trainedModel.Transform(testData); 166public void PredictIrisBatchOf1() => _trainedModel.Transform(_mlContext.Data.LoadFromEnumerable(_batches[0])); 169public void PredictIrisBatchOf2() => _trainedModel.Transform(_mlContext.Data.LoadFromEnumerable(_batches[1])); 172public void PredictIrisBatchOf5() => _trainedModel.Transform(_mlContext.Data.LoadFromEnumerable(_batches[2]));