Interface MultiDataNormalization
-
- All Superinterfaces:
MultiDataSetPreProcessor,Normalizer<MultiDataSet>
- All Known Implementing Classes:
AbstractMultiDataSetNormalizer,ImageMultiPreProcessingScaler,MultiNormalizerHybrid,MultiNormalizerMinMaxScaler,MultiNormalizerStandardize
public interface MultiDataNormalization extends Normalizer<MultiDataSet>, MultiDataSetPreProcessor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfit(MultiDataSetIterator iterator)Iterates over a dataset accumulating statistics for normalizationvoidpreProcess(MultiDataSet multiDataSet)Preprocess the MultiDataSetvoidrevertFeatures(INDArray[] features)Undo (revert) the normalization applied by this DataNormalization instance to the specified features arrayvoidrevertFeatures(INDArray[] features, INDArray[] featuresMask)Undo (revert) the normalization applied by this DataNormalization instance to the specified features arrayvoidrevertLabels(INDArray[] labels)Undo (revert) the normalization applied by this DataNormalization instance to the specified labels array.voidrevertLabels(INDArray[] labels, INDArray[] labelsMask)Undo (revert) the normalization applied by this DataNormalization instance to the specified labels array.-
Methods inherited from interface org.nd4j.linalg.dataset.api.preprocessor.Normalizer
fit, getType, revert, transform
-
-
-
-
Method Detail
-
fit
void fit(MultiDataSetIterator iterator)
Iterates over a dataset accumulating statistics for normalization- Parameters:
iterator- the iterator to use for collecting statistics.
-
preProcess
void preProcess(MultiDataSet multiDataSet)
Description copied from interface:MultiDataSetPreProcessorPreprocess the MultiDataSet- Specified by:
preProcessin interfaceMultiDataSetPreProcessor
-
revertFeatures
void revertFeatures(INDArray[] features, INDArray[] featuresMask)
Undo (revert) the normalization applied by this DataNormalization instance to the specified features array- Parameters:
features- Features to revert the normalization onfeaturesMask-
-
revertFeatures
void revertFeatures(INDArray[] features)
Undo (revert) the normalization applied by this DataNormalization instance to the specified features array- Parameters:
features- Features to revert the normalization on
-
revertLabels
void revertLabels(INDArray[] labels, INDArray[] labelsMask)
Undo (revert) the normalization applied by this DataNormalization instance to the specified labels array. If labels normalization is disabled (i.e.,#isFitLabel()== false) then this is a no-op. Can also be used to undo normalization for network output arrays, in the case of regression.- Parameters:
labels- Labels array to revert the normalization onlabelsMask- Labels mask array (may be null)
-
revertLabels
void revertLabels(INDArray[] labels)
Undo (revert) the normalization applied by this DataNormalization instance to the specified labels array. If labels normalization is disabled (i.e.,#isFitLabel()== false) then this is a no-op. Can also be used to undo normalization for network output arrays, in the case of regression.- Parameters:
labels- Labels array to revert the normalization on
-
-