fitted(toPreprocessed:eventHandler:)
Fits a transformer to a sequence of preprocessed features.
Declaration
func fitted<S>(toPreprocessed preprocessed: S, eventHandler: EventHandler? = nil) async throws -> PreprocessingSupervisedEstimator<Preprocessor, Estimator>.Transformer where S : Sequence, S.Element == AnnotatedFeature<Preprocessor.Output, Estimator.Annotation>Parameters
- preprocessed:
A sequence of preprocessed features.
- eventHandler:
An event handler.
Return Value
The fitted transformer.
See Also
Preprocessing and fitting
preprocessed(from:eventHandler:)fitted(to:eventHandler:)fitted(to:validateOn:eventHandler:)fitted(toPreprocessed:validateOn:eventHandler:)PreprocessingSupervisedEstimator.AnnotationPreprocessingSupervisedEstimator.InputPreprocessingSupervisedEstimator.IntermediatePreprocessingSupervisedEstimator.OutputTransformer