Package deepnetts.data.norm
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>>
Performs Min Max normalization on the given data set.
- Author:
- Zoran Sevarac
- See Also:
- 
Constructor SummaryConstructorsConstructorDescriptionMinMaxScaler(javax.visrec.ml.data.DataSet<MLDataItem> dataSet) Creates a new instance of max normalizer initialized to max values in given data set.
- 
Method SummaryModifier and TypeMethodDescriptionvoidapply(javax.visrec.ml.data.DataSet<MLDataItem> dataSet) Performs normalization on the given inputs.voidscaleInput(TensorBase input) Normalize input of deployed model
- 
Constructor Details- 
MinMaxScalerCreates a new instance of max normalizer initialized to max values in given data set.- Parameters:
- dataSet-
 
 
- 
- 
Method Details- 
applyPerforms normalization on the given inputs. x = (x-min) / (max-min)- Parameters:
- dataSet- data set to normalize
 
- 
scaleInputDescription copied from class:AbstractScalerNormalize input of deployed model- Specified by:
- scaleInputin class- AbstractScaler
- Parameters:
- input-
 
 
-