public class RangeScaler extends AbstractScaler
Constructor and Description |
---|
RangeScaler(float min,
float max)
Creates a new instance of range normalizer initialized to given min and max values.
|
Modifier and Type | Method and Description |
---|---|
void |
apply(javax.visrec.ml.data.DataSet<MLDataItem> dataSet)
Performs normalization on the given inputs.
|
void |
scaleInput(Tensor input)
Normalize input of deployed model
|
public RangeScaler(float min, float max)
min
- max
- public void apply(javax.visrec.ml.data.DataSet<MLDataItem> dataSet)
dataSet
- data set to normalizepublic void scaleInput(Tensor input)
AbstractScaler
scaleInput
in class AbstractScaler
Copyright © 2022. All rights reserved.