---
title: LinearTimeSeriesForecaster.Model
framework: createmlcomponents
role: symbol
role_heading: Structure
path: createmlcomponents/lineartimeseriesforecaster/model
---

# LinearTimeSeriesForecaster.Model

A linear time-series forecasting model.

## Declaration

```swift
struct Model
```

## Overview

Overview note: Only Float and Double are currently supported as the Scalar type.

## Topics

### Inspecting the model

- [annotationSize](createmlcomponents/lineartimeseriesforecaster/model/annotationsize.md)
- [bias](createmlcomponents/lineartimeseriesforecaster/model/bias.md)
- [featureSize](createmlcomponents/lineartimeseriesforecaster/model/featuresize.md)
- [forecastWindowSize](createmlcomponents/lineartimeseriesforecaster/model/forecastwindowsize.md)
- [inputWindowSize](createmlcomponents/lineartimeseriesforecaster/model/inputwindowsize.md)
- [stride](createmlcomponents/lineartimeseriesforecaster/model/stride.md)
- [weight](createmlcomponents/lineartimeseriesforecaster/model/weight.md)

### Applying the model

- [applied(to:eventHandler:)](createmlcomponents/lineartimeseriesforecaster/model/applied(to:eventhandler:).md)
- [applied(toWindow:eventHandler:)](createmlcomponents/lineartimeseriesforecaster/model/applied(towindow:eventhandler:).md)

### Exporting the model

- [export(to:)](createmlcomponents/lineartimeseriesforecaster/model/export(to:).md)
- [export(to:metadata:)](createmlcomponents/lineartimeseriesforecaster/model/export(to:metadata:).md)

### Default Implementations

- [TemporalTransformer Implementations](createmlcomponents/lineartimeseriesforecaster/model/temporaltransformer-implementations.md)

## Relationships

### Conforms To

- [Copyable](swift/copyable.md)
- [Escapable](swift/escapable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)
- [TemporalTransformer](createmlcomponents/temporaltransformer.md)
- [Transformer](createmlcomponents/transformer.md)

## See Also

### Supporting types

- [LinearTimeSeriesForecaster.Configuration](createmlcomponents/lineartimeseriesforecaster/configuration-swift.typealias.md)
