<!--
{
  "availability" : [
    "macOS: 10.15.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateML",
  "identifier" : "/documentation/CreateML/MLActivityClassifier/labelColumn",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Create ML"
    ],
    "preciseIdentifier" : "s:8CreateML20MLActivityClassifierV11labelColumnSSvp"
  },
  "title" : "labelColumn"
}
-->

# labelColumn

The name of the label column the activity classifier used during its training session.

```
var labelColumn: String
```

## Discussion

This property reflects the name of the data table column or annotation file column the training session used to
label each activity.

> Note: The ``doc://com.apple.createml/documentation/CreateML/MLActivityClassifier`` instance provides a default name if you trained it with a data source
> that’s set to ``doc://com.apple.createml/documentation/CreateML/MLActivityClassifier/DataSource/labeledDirectories(at:)``.

Changing the value of this property doesn’t retrain the model or affect its behavior.

---

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)