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

# algorithm

The algorithm the training session uses to train the action classifier.

## Declaration

```swift
var algorithm: MLActionClassifier.ModelParameters.ModelAlgorithmType
```

## 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)
- [predictionWindowSize](createml/mlactionclassifier/modelparameters-swift.struct/predictionwindowsize.md)
- [augmentationOptions](createml/mlactionclassifier/modelparameters-swift.struct/augmentationoptions.md)
- [validation](createml/mlactionclassifier/modelparameters-swift.struct/validation.md)
