MLModel.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.
Overloads
GetPrediction(IMLFeatureProvider, NSError) |
Makes a prediction on |
GetPrediction(IMLFeatureProvider, MLPredictionOptions, NSError) |
Makes a prediction on |
GetPrediction(IMLFeatureProvider, NSError)
Makes a prediction on input
.
[Foundation.Export("predictionFromFeatures:error:")]
public virtual CoreML.IMLFeatureProvider GetPrediction (CoreML.IMLFeatureProvider input, out Foundation.NSError error);
abstract member GetPrediction : CoreML.IMLFeatureProvider * -> CoreML.IMLFeatureProvider
override this.GetPrediction : CoreML.IMLFeatureProvider * -> CoreML.IMLFeatureProvider
Parameters
- input
- IMLFeatureProvider
The feature from which to make a prediction.
- error
- NSError
On failure, the error that occurred.
Returns
- Attributes
Applies to
GetPrediction(IMLFeatureProvider, MLPredictionOptions, NSError)
Makes a prediction on input
.
[Foundation.Export("predictionFromFeatures:options:error:")]
public virtual CoreML.IMLFeatureProvider GetPrediction (CoreML.IMLFeatureProvider input, CoreML.MLPredictionOptions options, out Foundation.NSError error);
abstract member GetPrediction : CoreML.IMLFeatureProvider * CoreML.MLPredictionOptions * -> CoreML.IMLFeatureProvider
override this.GetPrediction : CoreML.IMLFeatureProvider * CoreML.MLPredictionOptions * -> CoreML.IMLFeatureProvider
Parameters
- input
- IMLFeatureProvider
The feature from which to make a prediction.
- options
- MLPredictionOptions
Options about resources to use for the prediction.
- error
- NSError
On failure, the error that occurred.
Returns
- Attributes