<!--
{
  "availability" : [
    "macOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateML",
  "identifier" : "/documentation/CreateML/MLActionClassifier/DataSource/labeledFiles(at:)",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Create ML"
    ],
    "preciseIdentifier" : "s:8CreateML18MLActionClassifierV10DataSourceO12labeledFilesyAE10Foundation3URLV_tcAEmF"
  },
  "title" : "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.

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

## 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.

---

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)