다음을 통해 공유


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

실패 시 발생한 오류입니다.

반환

특성

적용 대상