<!--
{
  "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/ModelParameters-swift.struct/predictionWindowSize",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Create ML"
    ],
    "preciseIdentifier" : "s:8CreateML22MLHandActionClassifierV15ModelParametersV20predictionWindowSizeSivp"
  },
  "title" : "predictionWindowSize"
}
-->

# predictionWindowSize

The number of video frames the model training session uses to train
a hand action classifier.

```
var predictionWindowSize: Int
```

## Discussion

Set to 60 to capture hand actions with a 2 second duration from
videos that have a frame rate of 30 frames per second.

---

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)