Contents

fitted(to:eventHandler:)

Fits a composed transformer to a sequence of examples.

Declaration

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

Parameters

  • input:

    A sequence of examples.

  • eventHandler:

    An event handler.

Return Value

The fitted transformer.

See Also

Preprocesing and fitting