Contents

fitted(to:eventHandler:)

Fits a transformer to a sequence of examples.

Declaration

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

Parameters

  • input:

    A sequence of examples.

  • eventHandler:

    An event handler.

Return Value

The fitted transformer.

See Also

Fitting and adapting