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

# learningRate

The learning rate.

## Declaration

```swift
var learningRate: Double { get set }
```

## Discussion

Discussion The learning rate controls the step size shrinkage. A smaller learning rate makes the learning process more conservative. Must be in the range [0, 1]. Defaults to 0.3.

## See Also

### Inspecting the configuration

- [columnSubsample](createmlcomponents/boostedtreeconfiguration/columnsubsample.md)
- [earlyStoppingIterationCount](createmlcomponents/boostedtreeconfiguration/earlystoppingiterationcount.md)
- [maximumDepth](createmlcomponents/boostedtreeconfiguration/maximumdepth.md)
- [maximumIterations](createmlcomponents/boostedtreeconfiguration/maximumiterations.md)
- [minimumChildWeight](createmlcomponents/boostedtreeconfiguration/minimumchildweight.md)
- [minimumLossReduction](createmlcomponents/boostedtreeconfiguration/minimumlossreduction.md)
- [parallelTreeCount](createmlcomponents/boostedtreeconfiguration/paralleltreecount.md)
- [randomSeed](createmlcomponents/boostedtreeconfiguration/randomseed.md)
- [rowSubsample](createmlcomponents/boostedtreeconfiguration/rowsubsample.md)
- [stepSize](createmlcomponents/boostedtreeconfiguration/stepsize.md)
