---
title: maximumIterations
framework: createmlcomponents
role: symbol
role_heading: Instance Property
path: createmlcomponents/fullyconnectednetworkconfiguration/maximumiterations
---

# maximumIterations

The maximum number of iterations.

## Declaration

```swift
var maximumIterations: Int
```

## Discussion

Discussion More iterations will produce better models as long as there is no over-fitting. Over-fitting happens when the dropout probability is too low or there is not enough training data. 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

### Getting the properties

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