encodeWithOptimizer(_:to:)
Encodes a fitted transformer with an optimizer.
Declaration
func encodeWithOptimizer(_ transformer: FullyConnectedNetworkRegressor<Scalar>.Transformer, to encoder: inout any EstimatorEncoder) throwsParameters
- transformer:
A fully connected network regressor model.
- encoder:
An encoder for the estimator.