6 references to IrisPrediction
Microsoft.ML.Tests (6)
Scenarios\Api\Estimators\DecomposableTrainAndPredict.cs (2)
40var engine = ml.Model.CreatePredictionEngine<IrisDataNoLabel, IrisPrediction>(model); 46var prediction = engine.Predict(input);
Scenarios\Api\Estimators\Extensibility.cs (2)
49var engine = ml.Model.CreatePredictionEngine<IrisDataNoLabel, IrisPrediction>(model); 55var prediction = engine.Predict(input);
Scenarios\Api\Estimators\PredictAndMetadata.cs (2)
47engine.OutputSchema[nameof(IrisPrediction.Score)].Annotations.GetValue(AnnotationUtils.Kinds.TrainingLabelValues, ref originalLabels); 61engine.OutputSchema[nameof(IrisPrediction.PredictedLabel)].GetKeyValues(ref keys);