fitted(toPreprocessed:validateOn:eventHandler:)
Fits a composed transformer to a data frame of examples.
Declaration
func fitted(toPreprocessed preprocessedInput: DataFrame, validateOn preprocessedValidation: DataFrame?, eventHandler: EventHandler? = nil) async throws -> PreprocessingUpdatableSupervisedTabularEstimator<Preprocessor, Estimator>.TransformerParameters
- preprocessedInput:
A data frame of preprocessed features used for fitting the transformer.
- preprocessedValidation:
A data frame of preprocessed features used for validating the fitted transformer.
- eventHandler:
An event handler.
Return Value
The fitted transformer.
See Also
Preprocesing and fitting
fitted(to:validateOn:eventHandler:)makeTransformer()preprocessed(from:eventHandler:)update(_:with:eventHandler:)update(_:withPreprocessed:eventHandler:)PreprocessingUpdatableSupervisedTabularEstimator.AnnotationPreprocessingUpdatableSupervisedTabularEstimator.InputPreprocessingUpdatableSupervisedTabularEstimator.IntermediatePreprocessingUpdatableSupervisedTabularEstimator.OutputTransformer