<!--
{
  "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/MLHandActionClassifier/predictions(from:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Create ML"
    ],
    "preciseIdentifier" : "s:8CreateML22MLHandActionClassifierV11predictions4fromSaySayAC10PredictionVGGSay10Foundation3URLVG_tKF"
  },
  "title" : "predictions(from:)"
}
-->

# predictions(from:)

Generates an array of hand action predictions for each video in a URL
array.

```
func predictions(from videos: [URL]) throws -> [[MLHandActionClassifier.Prediction]]
```

## Parameters

`videos`

An array of video file URLs.

## Return Value

A array of prediction arrays. The index of each inner array
corresponds to the video URL index in the input array.

---

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)