Interface NormalizerStrategy<S extends NormalizerStats>
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
MinMaxStrategy,StandardizeStrategy
public interface NormalizerStrategy<S extends NormalizerStats> extends Serializable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NormalizerStats.BuildernewStatsBuilder()Create a newNormalizerStats.Builderinstance that can be used to fit new data and of the opType that belongs to the current NormalizerStrategy implementationvoidpreProcess(INDArray array, INDArray maskArray, S stats)Normalize a data arrayvoidrevert(INDArray array, INDArray maskArray, S stats)Denormalize a data array
-
-
-
Method Detail
-
preProcess
void preProcess(INDArray array, INDArray maskArray, S stats)
Normalize a data array- Parameters:
array- the data to normalizestats- statistics of the data population
-
revert
void revert(INDArray array, INDArray maskArray, S stats)
Denormalize a data array- Parameters:
array- the data to denormalizestats- statistics of the data population
-
newStatsBuilder
NormalizerStats.Builder newStatsBuilder()
Create a newNormalizerStats.Builderinstance that can be used to fit new data and of the opType that belongs to the current NormalizerStrategy implementation- Returns:
- the new builder
-
-