Contents

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>.Transformer

Parameters

  • 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