public interface MultiDataNormalization extends Normalizer<MultiDataSet>, MultiDataSetPreProcessor
Modifier and Type | Method and Description |
---|---|
void |
fit(MultiDataSetIterator iterator)
Iterates over a dataset
accumulating statistics for normalization
|
void |
preProcess(MultiDataSet multiDataSet)
Preprocess the MultiDataSet
|
void |
revertFeatures(INDArray[] features)
Undo (revert) the normalization applied by this DataNormalization instance to the specified features array
|
void |
revertFeatures(INDArray[] features,
INDArray[] featuresMask)
Undo (revert) the normalization applied by this DataNormalization instance to the specified features array
|
void |
revertLabels(INDArray[] labels)
Undo (revert) the normalization applied by this DataNormalization instance to the specified labels array.
|
void |
revertLabels(INDArray[] labels,
INDArray[] labelsMask)
Undo (revert) the normalization applied by this DataNormalization instance to the specified labels array.
|
fit, getType, revert, transform
void fit(MultiDataSetIterator iterator)
iterator
- the iterator to use for
collecting statistics.void preProcess(MultiDataSet multiDataSet)
MultiDataSetPreProcessor
preProcess
in interface MultiDataSetPreProcessor
void revertFeatures(INDArray[] features, INDArray[] featuresMask)
features
- Features to revert the normalization onfeaturesMask
- void revertFeatures(INDArray[] features)
features
- Features to revert the normalization onvoid revertLabels(INDArray[] labels, INDArray[] labelsMask)
#isFitLabel()
== false) then this is a no-op.
Can also be used to undo normalization for network output arrays, in the case of regression.labels
- Labels array to revert the normalization onlabelsMask
- Labels mask array (may be null)void revertLabels(INDArray[] labels)
#isFitLabel()
== false) then this is a no-op.
Can also be used to undo normalization for network output arrays, in the case of regression.labels
- Labels array to revert the normalization onCopyright © 2021. All rights reserved.