toModel method

ScalerModel toModel()

Serializes the model to a ScalerModel object.

Implementation

ScalerModel toModel() {
  _checkFitted();

  return ScalerModel(
    type: 'standard',
    min: 0.0,
    max: 0.0,
    featureMin: _mean,
    featureMax: _std,
  );
}