Contents

update(_:withPreprocessed:eventHandler:)

Updates a transformer with a new sequence of preprocessed features.

Declaration

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

Parameters

  • transformer:

    A transformer to update.

  • preprocessed:

    A sequence of preprocessed features.

  • eventHandler:

    An event handler.

See Also

Preprocesing and fitting