---
title: earlyStoppingIterationCount
framework: createmlcomponents
role: symbol
role_heading: Instance Property
path: createmlcomponents/timeseriesclassifierconfiguration/earlystoppingiterationcount
---

# earlyStoppingIterationCount

The number of iterations to use when evaluating whether to stop early.

## Declaration

```swift
var earlyStoppingIterationCount: Int
```

## Discussion

Discussion The fitted method will stop if no significant progress is made for this many iterations. Significant progress happens when the validation error decreases by at least convergenceThreshold. note: Early stopping only happens when using the fitted method with validation data.

## See Also

### Inspecting a time series classifier configuration

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