Instance Property

modelParameters

The configuration parameters used to train the model during initialization.

Declaration

let modelParameters: MLSoundClassifier.ModelParameters

See Also

Creating and Training a Sound Classifier

init(trainingData: [String : [URL]], parameters: MLSoundClassifier.ModelParameters)

Creates a sound classifier from a training data set represented by a dictionary.

init(trainingData: MLSoundClassifier.DataSource, parameters: MLSoundClassifier.ModelParameters)

Creates a sound classifier from a training data set represented by a data source.

enum MLSoundClassifier.DataSource

An enumeration that describes various ways to label audio-file URLs stored on disk.

struct MLSoundClassifier.ModelParameters

A structure that describes additional model parameters that you can set on the sound classifier.