evaluation(on:)
Generates metrics by evaluating the sound classifier’s performance on a dataset represented by a data source.
Declaration
func evaluation(on testingData: MLSoundClassifier.DataSource) -> MLClassifierMetricsParameters
- testingData:
A collection of labeled audio files represented by an Datasource.
Return Value
An MLClassifierMetrics instance that contains the evaluation results.