Contents

MLObjectDetector.ModelParameters

Parameters that affect the process of training an object detection model.

Declaration

struct ModelParameters

Overview

Customize the training process of an object detector by creating an MLObjectDetector.ModelParameters instance and passing it to an object detector’s initializer. You can explicitly set values for maxIterations and batchSize. You can also explicitly define the validation dataset to override the default behavior, which uses a random selection of your training dataset for validation.

Topics

Creating object detector parameters

Accessing the training parameters

Describing the model parameters

Supporting types

Default Implementations

See Also

Supporting types