IMLCustomModel.GetPrediction Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the model's prediction for , given the .
[Foundation.Export("predictionFromFeatures:options:error:")]
[Foundation.Preserve(Conditional=true)]
public CoreML.IMLFeatureProvider GetPrediction (CoreML.IMLFeatureProvider inputFeatures, CoreML.MLPredictionOptions options, out Foundation.NSError error);
abstract member GetPrediction : CoreML.IMLFeatureProvider * CoreML.MLPredictionOptions * -> CoreML.IMLFeatureProvider
Parameters
- inputFeatures
- IMLFeatureProvider
- options
- MLPredictionOptions
- error
- NSError
Returns
- Attributes