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);
166
public void PredictIrisBatchOf1() =>
_trainedModel
.Transform(_mlContext.Data.LoadFromEnumerable(_batches[0]));
169
public void PredictIrisBatchOf2() =>
_trainedModel
.Transform(_mlContext.Data.LoadFromEnumerable(_batches[1]));
172
public void PredictIrisBatchOf5() =>
_trainedModel
.Transform(_mlContext.Data.LoadFromEnumerable(_batches[2]));