prediction(from:options:)
Predicts output values from the given input features.
Declaration
func prediction(from input: any MLFeatureProvider, options: MLPredictionOptions) throws -> any MLFeatureProviderParameters
- input:
The feature values the models needs to make its prediction.
- options:
The options to be applied to the prediction.
Return Value
A feature provider that represents the model’s prediction.