PredictionFunction
public protocol PredictionFunction : ExpressionProtocol
ENTERPRISE EDITION ONLY
PredictionFunction protocol that allows to create an expression that refers to one of the properties of the prediction result dictionary.
-
Creates a property expression that refers to a property of the prediction result dictionary.
Declaration
Swift
func property(_ keyPath: String) -> ExpressionProtocol
Parameters
keyPath
The key path to the property.
Return Value
The property expression referring to a property of the prediction dictionary result.