Package deepnetts.data.norm
Class DecimalScaler
java.lang.Object
deepnetts.data.norm.AbstractScaler
deepnetts.data.norm.DecimalScaler
- All Implemented Interfaces:
 Serializable,javax.visrec.ml.data.preprocessing.Scaler<javax.visrec.ml.data.DataSet<MLDataItem>>
Decimal scale normalization for the given data set.
 Divides all inputs and outputs with 10^k so they are all scaled to [0,1]
- Author:
 - Zoran Sevarac
 - See Also:
 
- 
Constructor Summary
ConstructorsConstructorDescriptionDecimalScaler(javax.visrec.ml.data.DataSet<MLDataItem> dataSet) Creates a new instance of max normalizer initialized to max values in given data set. - 
Method Summary
Modifier 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
- 
DecimalScaler
Creates a new instance of max normalizer initialized to max values in given data set.- Parameters:
 dataSet-
 
 - 
 - 
Method Details
- 
apply
Performs normalization on the given inputs.- Parameters:
 dataSet- data set to normalize
 - 
scaleInput
Description copied from class:AbstractScalerNormalize input of deployed model- Specified by:
 scaleInputin classAbstractScaler- Parameters:
 input-
 
 -