MLCustomModel.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.
Gets the most likely prediction for inputFeatures and options.
[Foundation.Export("predictionFromFeatures:options:error:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual CoreML.IMLFeatureProvider? GetPrediction(CoreML.IMLFeatureProvider inputFeatures, CoreML.MLPredictionOptions options, out Foundation.NSError error);
[<Foundation.Export("predictionFromFeatures:options:error:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member GetPrediction : CoreML.IMLFeatureProvider * CoreML.MLPredictionOptions * NSError -> CoreML.IMLFeatureProvider
override this.GetPrediction : CoreML.IMLFeatureProvider * CoreML.MLPredictionOptions * NSError -> CoreML.IMLFeatureProvider
Parameters
- inputFeatures
- IMLFeatureProvider
- options
- MLPredictionOptions
- error
- NSError
Returns
Implements
- Attributes