---
title: LinearRegressor.Configuration
framework: createmlcomponents
role: symbol
role_heading: Structure
path: createmlcomponents/linearregressor/configuration-swift.struct
---

# LinearRegressor.Configuration

A linear regressor configuration.

## Declaration

```swift
struct Configuration
```

## Topics

### Creating a configuration

- [init()](createmlcomponents/linearregressor/configuration-swift.struct/init().md)

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

## Relationships

### Conforms To

- [Decodable](swift/decodable.md)
- [Encodable](swift/encodable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Creating a regressor

- [init(configuration:)](createmlcomponents/linearregressor/init(configuration:).md)
