loadFromModel method
Loads scaler state from a serialized model.
Implementation
void loadFromModel(ScalerModel model) {
if (model.type != 'minmax') {
throw ArgumentError('Incompatible scaler model type: ${model.type}');
}
_featureMin = model.featureMin;
_featureMax = model.featureMax;
_isFitted = true;
}