Class MultiNormalizerMinMaxScaler
- java.lang.Object
-
- org.nd4j.linalg.dataset.api.preprocessor.AbstractNormalizer
-
- org.nd4j.linalg.dataset.api.preprocessor.AbstractMultiDataSetNormalizer<MinMaxStats>
-
- org.nd4j.linalg.dataset.api.preprocessor.MultiNormalizerMinMaxScaler
-
- All Implemented Interfaces:
Serializable,MultiDataSetPreProcessor,MultiDataNormalization,Normalizer<MultiDataSet>
public class MultiNormalizerMinMaxScaler extends AbstractMultiDataSetNormalizer<MinMaxStats>
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.nd4j.linalg.dataset.api.preprocessor.AbstractMultiDataSetNormalizer
strategy
-
-
Constructor Summary
Constructors Constructor Description MultiNormalizerMinMaxScaler()MultiNormalizerMinMaxScaler(double minRange, double maxRange)Preprocessor can take a range as minRange and maxRange
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description INDArraygetLabelMax(int output)INDArraygetLabelMin(int output)INDArraygetMax(int input)INDArraygetMin(int input)doublegetTargetMax()doublegetTargetMin()NormalizerTypegetType()Get the enum opType of this normalizerprotected NormalizerStats.BuildernewBuilder()-
Methods inherited from class org.nd4j.linalg.dataset.api.preprocessor.AbstractMultiDataSetNormalizer
fit, fit, fitLabel, getFeatureStats, getFeatureStats, getLabelStats, getLabelStats, isFit, isFitLabel, numInputs, numOutputs, preProcess, revert, revertFeatures, revertFeatures, revertFeatures, revertLabels, revertLabels, revertLabels, transform
-
-
-
-
Constructor Detail
-
MultiNormalizerMinMaxScaler
public MultiNormalizerMinMaxScaler()
-
MultiNormalizerMinMaxScaler
public MultiNormalizerMinMaxScaler(double minRange, double maxRange)Preprocessor can take a range as minRange and maxRange- Parameters:
minRange- the target range lower boundmaxRange- the target range upper bound
-
-
Method Detail
-
getTargetMin
public double getTargetMin()
-
getTargetMax
public double getTargetMax()
-
newBuilder
protected NormalizerStats.Builder newBuilder()
- Specified by:
newBuilderin classAbstractMultiDataSetNormalizer<MinMaxStats>
-
getMin
public INDArray getMin(int input)
-
getMax
public INDArray getMax(int input)
-
getLabelMin
public INDArray getLabelMin(int output)
-
getLabelMax
public INDArray getLabelMax(int output)
-
getType
public NormalizerType getType()
Description copied from interface:NormalizerGet the enum opType of this normalizer- Returns:
- the opType
- See Also:
NormalizerSerializerStrategy.getSupportedType()
-
-