<!--
{
  "availability" : [
    "macOS: 11.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CreateML",
  "identifier" : "/documentation/CreateML/MLActionClassifier/Prediction",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Create ML"
    ],
    "preciseIdentifier" : "s:8CreateML18MLActionClassifierV10PredictionV"
  },
  "title" : "MLActionClassifier.Prediction"
}
-->

# MLActionClassifier.Prediction

A collection of predictions, each paired with its confidence, for a range of video frames.

```
struct Prediction
```

## Topics

### Inspecting a prediction

[`var results: [(label: String, confidence: Double)]`](/documentation/CreateML/MLActionClassifier/Prediction/results)

An array of prediction labels and their confidences for an action.

[`var frameRange: Range<Int>`](/documentation/CreateML/MLActionClassifier/Prediction/frameRange)

The range of frame rates the action classifier used to make its prediction.

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Sendable`](/documentation/Swift/Sendable)

---

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)