predictedLabel(for:)
Predicts a label for the given input string.
Declaration
func predictedLabel(for string: String) -> String?Parameters
- string:
The input text for the model to analyze.
Return Value
The model’s predicted label for the input string.