update(_:with:eventHandler:)
Updates a transformer with a new sequence of examples.
Declaration
func update<InputSequence, FeatureSequence>(_ transformer: inout PreprocessingUpdatableSupervisedTemporalEstimator<Preprocessor, Estimator>.Transformer, with input: InputSequence, eventHandler: EventHandler? = nil) async throws where InputSequence : Sequence, FeatureSequence : TemporalSequence, Preprocessor.Input == FeatureSequence.Feature, InputSequence.Element == AnnotatedFeature<FeatureSequence, Estimator.Annotation>Parameters
- transformer:
A transformer to update.
- input:
A sequence of examples.
- 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(_:withPreprocessed:eventHandler:)PreprocessingUpdatableSupervisedTemporalEstimator.AnnotationPreprocessingUpdatableSupervisedTemporalEstimator.InputPreprocessingUpdatableSupervisedTemporalEstimator.IntermediatePreprocessingUpdatableSupervisedTemporalEstimator.OutputTransformer