---
title: "applied(to:eventHandler:)"
framework: createmlcomponents
role: symbol
role_heading: Instance Method
path: "createmlcomponents/timeseriesclassifier/model/applied(to:eventhandler:)-3hpop"
---

# applied(to:eventHandler:)

Performs the transformation on an input sequence.

## Declaration

```swift
func applied(to input: some TemporalSequence<MLShapedArray<Scalar>>, eventHandler: EventHandler? = nil) async throws -> AnyTemporalSequence<ClassificationDistribution<Label>>
```

## Parameters

- `input`: A temporal sequence of features. Each feature’s shape must be [featureSize].
- `eventHandler`: An event handler.

## Return Value

Return Value An temporal sequence of predictions. Each prediction’s shape is [forecastWindowSize, annotationSize].
