Instance Method

evaluation(on:imageColumn:annotationColumn:)

Generates metrics describing the object detector’s performance on annotated data provided in a data table.

Declaration

func evaluation(on annotatedImages: MLDataTable, imageColumn: String, annotationColumn: String) -> MLObjectDetectorMetrics

Parameters

annotatedImages

A set of annotated images given in a data table.

imageColumn

The name of the column that contains the image file URLs.

annotationColumn

The name of the column that contains the image annotations.

Return Value

The metrics that indicate the performance of the object detector when operating on the input data set.

See Also

Evaluating an Object Detector

func evaluation(on: MLObjectDetector.DataSource) -> MLObjectDetectorMetrics

Generates metrics describing the object detector’s performance on annotated data provided in a data source.