---
title: stepSize
framework: createmlcomponents
role: symbol
role_heading: Instance Property
path: createmlcomponents/linearregressor/configuration-swift.struct/stepsize
---

# stepSize

The starting step size to use for the solver.

## Declaration

```swift
var stepSize: Double
```

## Discussion

Discussion Defaults to 1.0. If the first iteration takes a considerable amount of time, reducing this parameter may speed up model training.

## See Also

### Getting the properties

- [convergenceThreshold](createmlcomponents/linearregressor/configuration-swift.struct/convergencethreshold.md)
- [earlyStopIterationCount](createmlcomponents/linearregressor/configuration-swift.struct/earlystopiterationcount.md)
- [l1Penalty](createmlcomponents/linearregressor/configuration-swift.struct/l1penalty.md)
- [l2Penalty](createmlcomponents/linearregressor/configuration-swift.struct/l2penalty.md)
- [maximumIterations](createmlcomponents/linearregressor/configuration-swift.struct/maximumiterations.md)
- [optimizationStrategy](createmlcomponents/linearregressor/configuration-swift.struct/optimizationstrategy.md)
- [scaleFeatures](createmlcomponents/linearregressor/configuration-swift.struct/scalefeatures.md)
