---
title: "MLHandActionClassifier.DataSource.labeledKeypointsData(table:sessionIdColumn:labelColumn:featureColumn:)"
framework: createml
role: symbol
role_heading: Case
path: "createml/mlhandactionclassifier/datasource/labeledkeypointsdata(table:sessionidcolumn:labelcolumn:featurecolumn:)"
---

# MLHandActionClassifier.DataSource.labeledKeypointsData(table:sessionIdColumn:labelColumn:featureColumn:)

Creates a data source from a data table of hand action observations that each contain the locations of each hand joint and an annotation.

## Declaration

```swift
case labeledKeypointsData(table: MLDataTable, sessionIdColumn: String = __Defaults.sessionIdColumnName, labelColumn: String = __Defaults.labelColumnName, featureColumn: String = __Defaults.featureColumnName)
```

## Parameters

- `table `: A data table that contains the hand-joint locations and annotations for a set of hand actions.
- `sessionIdColumn`: The name of the column in the data table that contains the session identifiers.
- `labelColumn`: The name of the column in the data table that contains the hand action label names.
- `featureColumn`: The name of the column in the data table that contains the hand-joint location data. Each entry in the column must be an doc://com.apple.documentation/documentation/CoreML/MLMultiArray instance — which you must wrap in an doc://com.apple.createml/documentation/CreateML/MLDataValue/MultiArrayType — that contains three dimensions: The first dimension has a size of one. The second dimension has three channels: the x-coordinate, the y-coordinate, and the confidence value, respectively. The third dimension has 21 channels, one for each hand joint.

## See Also

### Creating a data source

- [MLHandActionClassifier.DataSource.labeledDirectories(at:)](createml/mlhandactionclassifier/datasource/labeleddirectories(at:).md)
- [MLHandActionClassifier.DataSource.labeledFiles(at:)](createml/mlhandactionclassifier/datasource/labeledfiles(at:).md)
- [MLHandActionClassifier.DataSource.directoryWithVideosAndAnnotation(at:annotationFile:videoColumn:labelColumn:startTimeColumn:endTimeColumn:)](createml/mlhandactionclassifier/datasource/directorywithvideosandannotation(at:annotationfile:videocolumn:labelcolumn:starttimecolumn:endtimecolumn:).md)
- [MLHandActionClassifier.DataSource.labeledVideoDataFrame(_:videoColumn:labelColumn:startTimeColumn:endTimeColumn:)](createml/mlhandactionclassifier/datasource/labeledvideodataframe(_:videocolumn:labelcolumn:starttimecolumn:endtimecolumn:).md)
- [MLHandActionClassifier.DataSource.labeledVideoData(table:videoColumn:labelColumn:startTimeColumn:endTimeColumn:)](createml/mlhandactionclassifier/datasource/labeledvideodata(table:videocolumn:labelcolumn:starttimecolumn:endtimecolumn:).md)
- [MLHandActionClassifier.DataSource.labeledKeypointsDataFrame(_:sessionIdColumn:labelColumn:featureColumn:)](createml/mlhandactionclassifier/datasource/labeledkeypointsdataframe(_:sessionidcolumn:labelcolumn:featurecolumn:).md)
