Contents

fitted(to:eventHandler:)

Fits a composed transformer to a sequence of examples.

Declaration

func fitted<InputSequence>(to input: InputSequence, eventHandler: EventHandler? = nil) async throws -> PreprocessingUpdatableSupervisedEstimator<Preprocessor, Estimator>.Transformer where InputSequence : Sequence, InputSequence.Element == AnnotatedFeature<Preprocessor.Input, Estimator.Annotation>

Parameters

  • input:

    A sequence of examples used for fitting the transformer.

  • eventHandler:

    An event handler.

Return Value

The fitted transformer.

See Also

Preprocesing and fitting