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

# scaleFeatures

A Boolean value indicating whether to scale the input features.

## Declaration

```swift
var scaleFeatures: Bool
```

## Discussion

Discussion Scaling the features reduces numerical errors.

## 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)
- [stepSize](createmlcomponents/linearregressor/configuration-swift.struct/stepsize.md)
