Contents

fitted(to:eventHandler:)

Fits a transformer to a sequence of examples.

Declaration

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

Parameters

  • input:

    A sequence of examples.

  • eventHandler:

    An event handler.

Return Value

The fitted transformer.

See Also

Preprocesing and fitting