---
title: maximumIterationCount
framework: createmlcomponents
role: symbol
role_heading: Instance Property
path: createmlcomponents/timeseriesclassifierconfiguration/maximumiterationcount
---

# maximumIterationCount

The maximum number of allowed passes through the data.

## Declaration

```swift
var maximumIterationCount: Int
```

## Discussion

Discussion More passes over the data can result in a more accurately trained model. Consider increasing this if the training accuracy is low. Defaults to 25. note: This parameter is only used by the fitted method. When using the update method it’s up to you to decide when to stop.

## See Also

### Inspecting a time series classifier configuration

- [batchSize](createmlcomponents/timeseriesclassifierconfiguration/batchsize.md)
- [earlyStoppingIterationCount](createmlcomponents/timeseriesclassifierconfiguration/earlystoppingiterationcount.md)
- [earlyStoppingTolerance](createmlcomponents/timeseriesclassifierconfiguration/earlystoppingtolerance.md)
- [learningRate](createmlcomponents/timeseriesclassifierconfiguration/learningrate.md)
- [maximumSequenceLength](createmlcomponents/timeseriesclassifierconfiguration/maximumsequencelength.md)
- [minimumSequenceLength](createmlcomponents/timeseriesclassifierconfiguration/minimumsequencelength.md)
- [randomSeed](createmlcomponents/timeseriesclassifierconfiguration/randomseed.md)
