---
title: "fitted(to:)"
framework: createmlcomponents
role: symbol
role_heading: Instance Method
path: "createmlcomponents/estimator/fitted(to:)"
---

# fitted(to:)

## Declaration

```swift
func fitted<S>(to input: S) async throws -> Self.Transformer where S : Sequence, S.Element == Self.Transformer.Input
```

## See Also

### Fitting and adapting

- [adaptedAsSupervised(annotationType:)](createmlcomponents/estimator/adaptedassupervised(annotationtype:).md)
- [adaptedAsTemporal()](createmlcomponents/estimator/adaptedastemporal().md)
- [fitted(to:eventHandler:)](createmlcomponents/estimator/fitted(to:eventhandler:).md)
