fitted(to:eventHandler:)
Fits a transformer to a sequence of examples.
Declaration
func fitted<InputSequence>(to input: InputSequence, eventHandler: EventHandler? = nil) async throws -> PreprocessingUpdatableTemporalEstimator<Preprocessor, Estimator>.Transformer where InputSequence : Sequence, Preprocessor.Input == InputSequence.Element.Feature, InputSequence.Element : TemporalSequenceParameters
- input:
A sequence of examples.
- eventHandler:
An event handler.
Return Value
The fitted transformer.
See Also
Preprocesing and fitting
preprocessed(from:eventHandler:)fitted(toPreprocessed:eventHandler:)update(_:withPreprocessed:eventHandler:)update(_:with:eventHandler:)makeTransformer()PreprocessingUpdatableTemporalEstimator.InputPreprocessingUpdatableTemporalEstimator.IntermediatePreprocessingUpdatableTemporalEstimator.OutputTransformer