---
title: earlyStopIterationCount
framework: createmlcomponents
role: symbol
role_heading: Instance Property
path: createmlcomponents/fullyconnectednetworkconfiguration/earlystopiterationcount
---

# earlyStopIterationCount

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

## Declaration

```swift
var earlyStopIterationCount: Int
```

## Discussion

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

## See Also

### Getting the properties

- [batchSize](createmlcomponents/fullyconnectednetworkconfiguration/batchsize.md)
- [dropoutProbability](createmlcomponents/fullyconnectednetworkconfiguration/dropoutprobability.md)
- [earlyStoppingTolerance](createmlcomponents/fullyconnectednetworkconfiguration/earlystoppingtolerance.md)
- [hiddenUnitCounts](createmlcomponents/fullyconnectednetworkconfiguration/hiddenunitcounts.md)
- [learningRate](createmlcomponents/fullyconnectednetworkconfiguration/learningrate.md)
- [maximumIterations](createmlcomponents/fullyconnectednetworkconfiguration/maximumiterations.md)
- [randomSeed](createmlcomponents/fullyconnectednetworkconfiguration/randomseed.md)
