Instance Property

modelParameters

The configuration parameters that the image classifier used for training during initialization.

Declaration

let modelParameters: MLImageClassifier.ModelParameters

See Also

Creating and Training an Image Classifier

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

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

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

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

enum MLImageClassifier.DataSource

A data source for an image classifier.

struct MLImageClassifier.ModelParameters

Parameters that affect the process of training an image classification model.