fitted(toPreprocessed:validateOn:eventHandler:)
Fits a transformer to a sequence of preprocessed features while validating.
Declaration
func fitted(toPreprocessed preprocessedInput: [AnnotatedFeature<PreprocessedFeatureSequence<Preprocessor.Output>, PreprocessingUpdatableSupervisedTemporalEstimator<Preprocessor, Estimator>.Annotation>], validateOn preprocessedValidation: [AnnotatedFeature<PreprocessedFeatureSequence<Preprocessor.Output>, PreprocessingUpdatableSupervisedTemporalEstimator<Preprocessor, Estimator>.Annotation>], eventHandler: EventHandler? = nil) async throws -> PreprocessingUpdatableSupervisedTemporalEstimator<Preprocessor, Estimator>.TransformerParameters
- preprocessedInput:
A sequence of preprocessed features.
- preprocessedValidation:
A sequence of preprocessed features used for validating the fitted transformer.
- eventHandler:
An event handler.
Return Value
The fitted transformer.
See Also
Preprocesing and fitting
preprocessed(from:eventHandler:)fitted(to:eventHandler:)fitted(toPreprocessed:eventHandler:)fitted(to:validateOn:eventHandler:)makeTransformer()update(_:with:eventHandler:)update(_:withPreprocessed:eventHandler:)PreprocessingUpdatableSupervisedTemporalEstimator.AnnotationPreprocessingUpdatableSupervisedTemporalEstimator.InputPreprocessingUpdatableSupervisedTemporalEstimator.IntermediatePreprocessingUpdatableSupervisedTemporalEstimator.OutputTransformer