Contents

fitted(to:eventHandler:)

Fits a transformer to a sequence of examples, ignoring the annotations and the validation.

Declaration

func fitted<Input>(to input: Input, eventHandler: EventHandler? = nil) async throws -> UpdatableEstimatorToSupervisedAdaptor<Estimator, Annotation>.Transformer where Input : Sequence, Input.Element == AnnotatedFeature<Estimator.Transformer.Input, Annotation>

Parameters

  • input:

    A sequence of examples.

  • eventHandler:

    An event handler.

Return Value

The pre-defined transformer.

See Also

Fitting and Updating