<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 10.15.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateML",
  "identifier" : "/documentation/CreateML/MLSoundClassifier/ModelParameters-swift.struct/ValidationData/split(strategy:)",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Create ML"
    ],
    "preciseIdentifier" : "s:8CreateML17MLSoundClassifierV15ModelParametersV14ValidationDataO5splityAgA15MLSplitStrategyO_tcAGmF"
  },
  "title" : "MLSoundClassifier.ModelParameters.ValidationData.split(strategy:)"
}
-->

# MLSoundClassifier.ModelParameters.ValidationData.split(strategy:)

A validation dataset derived by randomly selecting a portion of the sound classifier’s training dataset
using the split strategy.

```
case split(strategy: MLSplitStrategy)
```

## Discussion

- strategy: The partition method this case uses to create the validation dataset from the training dataset.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)