NLModel.GetPredictedLabel(String) Method

Definition

Returns the prediction for the string.

[Foundation.Export("predictedLabelForString:")]
public virtual string GetPredictedLabel (string string);
abstract member GetPredictedLabel : string -> string
override this.GetPredictedLabel : string -> string

Parameters

string
String

The string for which to get a prediction.

Returns

The prediction for the string.

Attributes

Applies to