---
title: "applied(to:eventHandler:)"
framework: createmlcomponents
role: symbol
role_heading: Instance Method
path: "createmlcomponents/fullyconnectednetworkclassifiermodel/applied(to:eventhandler:)"
---

# applied(to:eventHandler:)

Performs a classification on a shaped array.

## Declaration

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

## Parameters

- `input`: The classifier input.
- `eventHandler`: An event handler.

## Return Value

Return Value A classification distribution.
