---
title: earlyStoppingIterationCount
framework: createmlcomponents
role: symbol
role_heading: Instance Property
path: createmlcomponents/multivariatelinearregressorconfiguration/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

### Getting the properties

- [batchSize](createmlcomponents/multivariatelinearregressorconfiguration/batchsize.md)
- [maximumIterationCount](createmlcomponents/multivariatelinearregressorconfiguration/maximumiterationcount.md)
- [earlyStoppingTolerance](createmlcomponents/multivariatelinearregressorconfiguration/earlystoppingtolerance.md)
- [learningRate](createmlcomponents/multivariatelinearregressorconfiguration/learningrate.md)
- [randomSeed](createmlcomponents/multivariatelinearregressorconfiguration/randomseed.md)
