Class DistributionStats
- java.lang.Object
-
- org.nd4j.linalg.dataset.api.preprocessor.stats.DistributionStats
-
- All Implemented Interfaces:
Serializable
,NormalizerStats
public class DistributionStats extends Object implements NormalizerStats
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DistributionStats.Builder
DynamicCustomOpsBuilder class that can incrementally update a running mean and variance in order to create statistics for a large set of data
-
Constructor Summary
Constructors Constructor Description DistributionStats(@NonNull INDArray mean, @NonNull INDArray std)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DistributionStats
load(@NonNull File meanFile, @NonNull File stdFile)
Load distribution statistics from the file systemvoid
save(@NonNull File meanFile, @NonNull File stdFile)
Save distribution statistics to the file system
-
-
-
Method Detail
-
load
public static DistributionStats load(@NonNull @NonNull File meanFile, @NonNull @NonNull File stdFile) throws IOException
Load distribution statistics from the file system- Parameters:
meanFile
- file containing the meansstdFile
- file containing the standard deviations- Throws:
IOException
-
save
public void save(@NonNull @NonNull File meanFile, @NonNull @NonNull File stdFile) throws IOException
Save distribution statistics to the file system- Parameters:
meanFile
- file to contain the meansstdFile
- file to contain the standard deviations- Throws:
IOException
-
-