fitted(toPreprocessed:validateOn:eventHandler:)
Fits a transformer to a sequence of preprocessed examples while validating.
Declaration
func fitted(toPreprocessed preprocessedInput: [AnnotatedFeature<PreprocessedFeatureSequence<Preprocessor.Output>, PreprocessingSupervisedTemporalEstimator<Preprocessor, Estimator>.Annotation>], validateOn preprocessedValidation: [AnnotatedFeature<PreprocessedFeatureSequence<Preprocessor.Output>, PreprocessingSupervisedTemporalEstimator<Preprocessor, Estimator>.Annotation>], eventHandler: EventHandler? = nil) async throws -> PreprocessingSupervisedTemporalEstimator<Preprocessor, Estimator>.TransformerParameters
- preprocessedInput:
A sequence of preprocessed features used for fitting the transformer.
- 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:)PreprocessingSupervisedTemporalEstimator.AnnotationPreprocessingSupervisedTemporalEstimator.InputPreprocessingSupervisedTemporalEstimator.IntermediatePreprocessingSupervisedTemporalEstimator.OutputTransformer