次の方法で共有


MLModel.GetPrediction メソッド

定義

オーバーロード

GetPrediction(IMLFeatureProvider, NSError)

で予測を行 inputいます。

GetPrediction(IMLFeatureProvider, MLPredictionOptions, NSError)

で予測を行 inputいます。

GetPrediction(IMLFeatureProvider, NSError)

で予測を行 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

パラメーター

input
IMLFeatureProvider

予測の元となる特徴。

error
NSError

失敗した場合は、発生したエラー。

戻り値

属性

適用対象

GetPrediction(IMLFeatureProvider, MLPredictionOptions, NSError)

で予測を行 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

パラメーター

input
IMLFeatureProvider

予測の元となる特徴。

options
MLPredictionOptions

予測に使用するリソースに関するオプション。

error
NSError

失敗した場合は、発生したエラー。

戻り値

属性

適用対象