---
title: labelColumn
framework: Create ML
role: symbol
role_heading: Instance Property
platforms: [macOS 10.15+]
path: createml/mlactivityclassifier/labelcolumn
---

# labelColumn

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

## Declaration

```swift
var labelColumn: String
```

## Discussion

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 MLActivityClassifier instance provides a default name if you trained it with a data source that’s set to MLActivityClassifier.DataSource.labeledDirectories(at:). Changing the value of this property doesn’t retrain the model or affect its behavior.

## See Also

### Inspecting an activity classifier model

- [model](createml/mlactivityclassifier/model.md)
- [modelParameters](createml/mlactivityclassifier/modelparameters-swift.property.md)
- [featureColumns](createml/mlactivityclassifier/featurecolumns.md)
- [recordingFileColumn](createml/mlactivityclassifier/recordingfilecolumn.md)
