Class MinMaxScaler

java.lang.Object
deepnetts.data.norm.AbstractScaler
deepnetts.data.norm.MinMaxScaler
All Implemented Interfaces:
Serializable, javax.visrec.ml.data.preprocessing.Scaler<javax.visrec.ml.data.DataSet<MLDataItem>>

public class MinMaxScaler extends AbstractScaler
Performs Min Max normalization on the given data set.
Author:
Zoran Sevarac
See Also:
  • Constructor Details

    • MinMaxScaler

      public MinMaxScaler(javax.visrec.ml.data.DataSet<MLDataItem> dataSet)
      Creates a new instance of max normalizer initialized to max values in given data set.
      Parameters:
      dataSet -
  • Method Details

    • apply

      public void apply(javax.visrec.ml.data.DataSet<MLDataItem> dataSet)
      Performs normalization on the given inputs. x = (x-min) / (max-min)
      Parameters:
      dataSet - data set to normalize
    • scaleInput

      public void scaleInput(TensorBase input)
      Description copied from class: AbstractScaler
      Normalize input of deployed model
      Specified by:
      scaleInput in class AbstractScaler
      Parameters:
      input -