<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateML",
  "identifier" : "/documentation/CreateML/MLHandPoseClassifier/predictions(from:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Create ML"
    ],
    "preciseIdentifier" : "s:8CreateML20MLHandPoseClassifierV11predictions4fromSaySaySS5label_Sd10confidencetGGSay10Foundation3URLVG_tKF"
  },
  "title" : "predictions(from:)"
}
-->

# predictions(from:)

Generates an array of hand pose predictions for each image in a URL
array.

```
func predictions(from images: [URL]) throws -> [[(label: String, confidence: Double)]]
```

## Parameters

`images`

An array of image file URLs.

## Return Value

An array of a prediction tuple arrays.

## Discussion

Each prediction consists of an array of tuples that pair a
classification label with the model’s confidence for that label. The
method returns an array of prediction arrays, where each element of the
outer array is the prediction for the corresponding URL element in
`images`.

---

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)