Skip to content

Refactor surrogate_utils.py

Mads M. Pedersen requested to merge surrogate_interface_mmpe into surrogate_interface
  • Remove abstract transform (both subclasses are gain-offset scalers)
  • Add GainOffsetScaler with transform, inverse_transform, transform_gradient, inverse_transform_gradient and eq
  • Let MinMaxScalerPW and StandardScalerPW inherrit from GainOffsetScaler and remove duplicate code

Merge request reports

Loading