encode(_:to:)

Encodes a fitted model.

Declaration

func encode(_ model: LinearTimeSeriesForecaster<Scalar>.Transformer, to encoder: inout any EstimatorEncoder) throws