<!--
{
  "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/Prediction",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Create ML"
    ],
    "preciseIdentifier" : "s:8CreateML22MLHandActionClassifierV10PredictionV"
  },
  "title" : "MLHandActionClassifier.Prediction"
}
-->

# MLHandActionClassifier.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/MLHandActionClassifier/Prediction/results)

An array of prediction labels and their confidences for a hand
action.

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

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

## Relationships

### Conforms To

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

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

---

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)