Share via


MLModel.GetPrediction Méthode

Définition

Surcharges

GetPrediction(IMLFeatureProvider, NSError)

Effectue une prédiction sur input.

GetPrediction(IMLFeatureProvider, MLPredictionOptions, NSError)

Effectue une prédiction sur input.

GetPrediction(IMLFeatureProvider, NSError)

Effectue une prédiction sur 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

Paramètres

input
IMLFeatureProvider

Fonctionnalité à partir de laquelle effectuer une prédiction.

error
NSError

En cas d’échec, l’erreur qui s’est produite.

Retours

Attributs

S’applique à

GetPrediction(IMLFeatureProvider, MLPredictionOptions, NSError)

Effectue une prédiction sur 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

Paramètres

input
IMLFeatureProvider

Fonctionnalité à partir de laquelle effectuer une prédiction.

options
MLPredictionOptions

Options sur les ressources à utiliser pour la prédiction.

error
NSError

En cas d’échec, l’erreur qui s’est produite.

Retours

Attributs

S’applique à