---
title: weight
framework: createmlcomponents
role: symbol
role_heading: Instance Property
path: createmlcomponents/multivariatelinearregressor/model/weight
---

# weight

The linear coefficients.

## Declaration

```swift
var weight: MLShapedArray<Scalar> { get }
```

## See Also

### Getting the properties

- [inputSize](createmlcomponents/multivariatelinearregressor/model/inputsize.md)
- [outputSize](createmlcomponents/multivariatelinearregressor/model/outputsize.md)
- [bias](createmlcomponents/multivariatelinearregressor/model/bias.md)
