Condividi tramite


MLModel.GetPrediction Metodo

Definizione

Overload

GetPrediction(IMLFeatureProvider, NSError)

Esegue una stima su input.

GetPrediction(IMLFeatureProvider, MLPredictionOptions, NSError)

Esegue una stima su input.

GetPrediction(IMLFeatureProvider, NSError)

Esegue una stima su 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

Parametri

input
IMLFeatureProvider

Funzionalità da cui eseguire una stima.

error
NSError

In caso di errore, errore che si è verificato.

Restituisce

Attributi

Si applica a

GetPrediction(IMLFeatureProvider, MLPredictionOptions, NSError)

Esegue una stima su 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

Parametri

input
IMLFeatureProvider

Funzionalità da cui eseguire una stima.

options
MLPredictionOptions

Opzioni sulle risorse da usare per la stima.

error
NSError

In caso di errore, errore che si è verificato.

Restituisce

Attributi

Si applica a