evaluation(on:)
Generates metrics describing the image classifier’s performance on labeled images represented by a data source.
Declaration
func evaluation(on labeledImages: MLImageClassifier.DataSource) -> MLClassifierMetricsParameters
- labeledImages:
A set of labeled images in a data source.
Return Value
The metrics that indicate the performance of the classifier when operating on the input dataset.