public class MinMaxScaler extends AbstractScaler
Constructor and Description |
---|
MinMaxScaler(javax.visrec.ml.data.DataSet<MLDataItem> dataSet)
Creates a new instance of max normalizer initialized to max values in given data set.
|
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 MinMaxScaler(javax.visrec.ml.data.DataSet<MLDataItem> dataSet)
dataSet
- 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.