<!--
{
  "availability" : [
    "macOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateML",
  "identifier" : "/documentation/CreateML/MLActionClassifier/predictions(from:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "Create ML"
    ],
    "preciseIdentifier" : "s:8CreateML18MLActionClassifierV11predictions4fromSaySayAC10PredictionVGGSay10Foundation3URLVG_tKF"
  },
  "title" : "predictions(from:)"
}
-->

# predictions(from:)

Generates a sequence of predictions for each video input.

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

## Parameters

`videos`

An array of locations to videos you want the action classifier to analyze.

## Return Value

A array of prediction arrays. The index of each inner array
corresponds to the video 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)