fitted(toPreprocessed:validateOn:eventHandler:)
Fits a transformer to a data frame of preprocessed examples while validating.
Declaration
func fitted(toPreprocessed preprocessedInput: DataFrame, validateOn preprocessedValidation: DataFrame?, eventHandler: EventHandler? = nil) async throws -> PreprocessingSupervisedTabularEstimator<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.