Contents

update(_:withPreprocessed:eventHandler:)

Updates a transformer with a new sequence of preprocessed features.

Declaration

func update<InputSequence>(_ transformer: inout PreprocessingUpdatableSupervisedEstimator<Preprocessor, Estimator>.Transformer, withPreprocessed preprocessed: InputSequence, eventHandler: EventHandler? = nil) async throws where InputSequence : Sequence, InputSequence.Element == AnnotatedFeature<Preprocessor.Output, Estimator.Annotation>

Parameters

  • transformer:

    A transformer to update.

  • preprocessed:

    A sequence of preprocessed features.

  • eventHandler:

    An event handler.

See Also

Preprocesing and fitting