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

# fitted(to:)

## Declaration

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

## See Also

### Adapting and fitting

- [adaptedAsTemporal()](createmlcomponents/supervisedestimator/adaptedastemporal().md)
- [fitted(to:eventHandler:)](createmlcomponents/supervisedestimator/fitted(to:eventhandler:).md)
- [fitted(to:validateOn:eventHandler:)](createmlcomponents/supervisedestimator/fitted(to:validateon:eventhandler:).md)
- [fitted(to:validateOn:)](createmlcomponents/supervisedestimator/fitted(to:validateon:).md)
