MLObjectDetector.ModelParameters.ValidationData.split(strategy:)
A validation dataset Create ML derives by randomly selecting a portion of the object detector’s training dataset using the split strategy.
Declaration
case split(strategy: MLSplitStrategy)Parameters
- strategy:
An Mlsplitstrategy instance the enumeration case uses to select a portion of the object detector’s training dataset as its associated value.