Instance Method

evaluation(on:)

Returns metrics describing the classifier’s performance on the data source.

Declaration

func evaluation(on testingData: MLSoundClassifier.DataSource) -> MLClassifierMetrics

Parameters

testingData

A set of labeled sounds given in a data source.

Return Value

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

See Also

Evaluating a Sound Classifier

func evaluation(on: [String : [URL]]) -> MLClassifierMetrics

Returns metrics describing the classifier’s performance on labeled data, provided in a dictionary.