evaluation(on:imageColumn:annotationColumn:)
Generates metrics by evaluating the object detector’s performance using annotated images in a data table.
Declaration
func evaluation(on annotatedImages: MLDataTable, imageColumn: String, annotationColumn: String) -> MLObjectDetectorMetricsParameters
- annotatedImages:
An Mldatatable instance that contains a set of images with object annotations.
- imageColumn:
The name of the column in the data table that contains the image file URLs.
- annotationColumn:
The name of the column in the data table that contains the object annotations.
Return Value
An MLObjectDetectorMetrics instance that represents the object detector’s performance on the annotated images.