Contents

update(_:with:eventHandler:)

Updates a transformer with a new sequence of examples.

Declaration

func update<InputSequence>(_ transformer: inout PreprocessingUpdatableEstimator<Preprocessor, Estimator>.Transformer, with input: InputSequence, eventHandler: EventHandler? = nil) async throws where InputSequence : Sequence, Preprocessor.Input == InputSequence.Element

Parameters

  • transformer:

    A transformer to update.

  • input:

    A sequence of examples.

  • eventHandler:

    An event handler.

See Also

Preprocesing and fitting