---
title: predictionWindowSize
framework: createml
role: symbol
role_heading: Instance Property
path: createml/mlactionclassifier/modelparameters-swift.struct/predictionwindowsize
---

# predictionWindowSize

The number of frames the training session uses to train an action classifier.

## Declaration

```swift
var predictionWindowSize: Int
```

## See Also

### Accessing the training parameters

- [maximumIterations](createml/mlactionclassifier/modelparameters-swift.struct/maximumiterations.md)
- [batchSize](createml/mlactionclassifier/modelparameters-swift.struct/batchsize.md)
- [targetFrameRate](createml/mlactionclassifier/modelparameters-swift.struct/targetframerate.md)
- [algorithm](createml/mlactionclassifier/modelparameters-swift.struct/algorithm.md)
- [augmentationOptions](createml/mlactionclassifier/modelparameters-swift.struct/augmentationoptions.md)
- [validation](createml/mlactionclassifier/modelparameters-swift.struct/validation.md)
