Save a z-score scaler to RDS and JSON
Arguments
- mean_y
Mean of the target variable
- sd_y
Standard deviation of the target variable
- path_base
File path base (no extension)
- bounds
Optional list from
target_bounds(): the calibration range on the modelling scale, stored so prediction can bound the back-transform the same way training scored it.NULLstores no range.
