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.InputParameters
- transformer:
A transformer to update.
- preprocessed:
A sequence of preprocessed features.
- eventHandler:
An event handler.
See Also
Preprocesing and fitting
preprocessed(from:eventHandler:)fitted(to:eventHandler:)fitted(toPreprocessed:eventHandler:)fitted(to:validateOn:eventHandler:)fitted(toPreprocessed:validateOn:eventHandler:)makeTransformer()update(_:with:eventHandler:)PreprocessingUpdatableSupervisedTemporalEstimator.AnnotationPreprocessingUpdatableSupervisedTemporalEstimator.InputPreprocessingUpdatableSupervisedTemporalEstimator.IntermediatePreprocessingUpdatableSupervisedTemporalEstimator.OutputTransformer