---
title: "predictions(from:)"
framework: createml
role: symbol
role_heading: Instance Method
path: "createml/mlhandactionclassifier/predictions(from:)"
---

# predictions(from:)

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

## Declaration

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

## Parameters

- `videos`: An array of video file URLs.

## Return Value

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

## See Also

### Testing a hand action classifier

- [prediction(from:)](createml/mlhandactionclassifier/prediction(from:).md)
- [MLHandActionClassifier.Prediction](createml/mlhandactionclassifier/prediction.md)
