<!--
{
  "availability" : [
    "iOS: 15.0.0 - 17.0.0",
    "iPadOS: 15.0.0 - 17.0.0",
    "macCatalyst: 15.0.0 - 17.0.0",
    "macOS: 12.0.0 - 14.0.0",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateML",
  "identifier" : "/documentation/CreateML/MLHandActionClassifier/DataSource/labeledKeypointsData(table:sessionIdColumn:labelColumn:featureColumn:)",
  "metadataVersion" : "0.1.0",
  "role" : "Case",
  "symbol" : {
    "kind" : "Case",
    "modules" : [
      "Create ML"
    ],
    "preciseIdentifier" : "s:8CreateML22MLHandActionClassifierV10DataSourceO016labeledKeypointsF0yAeA11MLDataTableV_S3StcAEmF"
  },
  "title" : "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.

```
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 [`MLDataValue.MultiArrayType`](/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.

---

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)