loadFromModel method
Loads scaler from a model.
Implementation
void loadFromModel(ScalerModel model) {
if (model.type != 'standard') {
throw ArgumentError('Incompatible scaler model type: ${model.type}');
}
_mean = model.featureMin;
_std = model.featureMax;
_isFitted = true;
}