Creates a sound classifier from a training data set represented by a data source.
The labeled audio files that you use to train this model, contained in a data source.
Parameters that you use to configure model training.
You create an instance of this class by passing it an MLSoundClassifier.DataSource of training data. The following example shows how build a data source from labeled directories of audio files and use it to create a model to classify sounds.