---
title: "MLActionClassifier.DataSource.labeledFiles(at:)"
framework: createml
role: symbol
role_heading: Case
path: "createml/mlactionclassifier/datasource/labeledfiles(at:)"
---

# MLActionClassifier.DataSource.labeledFiles(at:)

The location of a folder that contains video files whose names you use to label corresponding actions.

## Declaration

```swift
case labeledFiles(at: URL)
```

## Discussion

Discussion Use this case to create a data source from a folder of all your sample video files. Name each file using the action’s label, followed by a period and an arbitrary string, followed by the file extension. For example, an exercise action classifier might have files named squat.3.mov, lunge.1.mov, lunge.2.mov, and so on.

## See Also

### Creating a data source

- [MLActionClassifier.DataSource.labeledDirectories(at:)](createml/mlactionclassifier/datasource/labeleddirectories(at:).md)
- [MLActionClassifier.DataSource.directoryWithVideosAndAnnotation(at:annotationFile:videoColumn:labelColumn:startTimeColumn:endTimeColumn:)](createml/mlactionclassifier/datasource/directorywithvideosandannotation(at:annotationfile:videocolumn:labelcolumn:starttimecolumn:endtimecolumn:).md)
- [MLActionClassifier.DataSource.labeledVideoData(table:videoColumn:labelColumn:startTimeColumn:endTimeColumn:)](createml/mlactionclassifier/datasource/labeledvideodata(table:videocolumn:labelcolumn:starttimecolumn:endtimecolumn:).md)
