Interface Normalizer<T>
-
- All Known Subinterfaces:
DataNormalization,MultiDataNormalization
- All Known Implementing Classes:
AbstractDataSetNormalizer,AbstractMultiDataSetNormalizer,ImageMultiPreProcessingScaler,ImagePreProcessingScaler,MultiNormalizerHybrid,MultiNormalizerMinMaxScaler,MultiNormalizerStandardize,NormalizerMinMaxScaler,NormalizerStandardize,VGG16ImagePreProcessor
public interface Normalizer<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfit(T dataSet)Fit a dataset (only compute based on the statistics from this dataset)NormalizerTypegetType()Get the enum opType of this normalizervoidrevert(T toRevert)Undo (revert) the normalization applied by this DataNormalization instance (arrays are modified in-place)voidtransform(T toPreProcess)Transform the dataset
-
-
-
Method Detail
-
fit
void fit(T dataSet)
Fit a dataset (only compute based on the statistics from this dataset)- Parameters:
dataSet- the dataset to compute on
-
transform
void transform(T toPreProcess)
Transform the dataset- Parameters:
toPreProcess- the dataset to re process
-
revert
void revert(T toRevert)
Undo (revert) the normalization applied by this DataNormalization instance (arrays are modified in-place)- Parameters:
toRevert- DataSet to revert the normalization on
-
getType
NormalizerType getType()
Get the enum opType of this normalizer- Returns:
- the opType
- See Also:
NormalizerSerializerStrategy.getSupportedType()
-
-