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

# MLSoundClassifier.ModelParameters.ValidationData.dictionary(_:)

A validation dataset represented by a dictionary.

```
case dictionary([String : [URL]])
```

## Discussion

- dictionary: A validation dataset that uses a collection of labeled audio files represented by a
  dictionary. Each key of the dictionary is a label, and its value is an array of audio-file URLs.

---

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)