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

# MLActionClassifier.DataSource.labeledDirectories(at:)

The location of a folder with subfolders each of which contain sample videos of an action.

```
case labeledDirectories(at: URL)
```

## Discussion

The action classifier task uses each subfolder’s name as the label for an action.

---

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)