decodeWithOptimizer(from:)
Reads the encoded transformer and optimizer with a decoder.
Declaration
func decodeWithOptimizer(from decoder: inout any EstimatorDecoder) throws -> LinearRegressorModel<Scalar>Parameters
- decoder:
A decoder.
Return Value
The decoded transformer.