---
title: "MLImageClassifier.DataSource.filesByLabel(_:)"
framework: createml
role: symbol
role_heading: Case
path: "createml/mlimageclassifier/datasource/filesbylabel(_:)"
---

# MLImageClassifier.DataSource.filesByLabel(_:)

Dictionary of labels to file URLs.

## Declaration

```swift
case filesByLabel([String : [URL]])
```

## See Also

### Retrieving the data

- [labeledImages()](createml/mlimageclassifier/datasource/labeledimages().md)
