---
title: learningRate
framework: createmlcomponents
role: symbol
role_heading: Instance Property
path: createmlcomponents/fullyconnectednetworkconfiguration/learningrate
---

# learningRate

The learning rate.

## Declaration

```swift
var learningRate: Float
```

## Discussion

Discussion The learning rate controls how much the model changes when presented with new data. A high learning rate may overshoot when close to a solution, while a low learning rate my take too long to train a good model. Defaults to 0.001.

## 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)
- [maximumIterations](createmlcomponents/fullyconnectednetworkconfiguration/maximumiterations.md)
- [randomSeed](createmlcomponents/fullyconnectednetworkconfiguration/randomseed.md)
