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