2 instantiations of InputData
Microsoft.ML.IntegrationTests (2)
SchemaDefinitionTests.cs (2)
52
var prediction = engine1.Predict(new
InputData
() { Workclass = "Self-emp-not-inc", NumericFeatures = new float[6] });
55
prediction = engine2.Predict(new
InputData
() { Workclass = "Self-emp-not-inc", NumericFeatures = new float[6] });
2 references to InputData
Microsoft.ML.IntegrationTests (2)
SchemaDefinitionTests.cs (2)
46
var engine1 = _ml.Model.CreatePredictionEngine<
InputData
, OutputData>(model1, outputSchemaDefinition: outputSchemaDefinition);
50
var engine2 = _ml.Model.CreatePredictionEngine<
InputData
, OutputData>(model2, outputSchemaDefinition: outputSchemaDefinition);