Contents

encodeWithOptimizer(_:to:)

Encodes the transformer and optimizer to an encoder.

Declaration

func encodeWithOptimizer(_ transformer: PreprocessingUpdatableTabularEstimator<Preprocessor, Estimator>.Transformer, to encoder: inout any EstimatorEncoder) throws

Parameters

  • transformer:

    A transformer this estimator creates.

  • encoder:

    An encoder.

See Also

Encoding and decoding