public class NormalizerStandardize extends AbstractDataSetNormalizer<DistributionStats>
strategy
Constructor and Description |
---|
NormalizerStandardize() |
NormalizerStandardize(@NonNull INDArray featureMean,
@NonNull INDArray featureStd) |
NormalizerStandardize(@NonNull INDArray featureMean,
@NonNull INDArray featureStd,
@NonNull INDArray labelMean,
@NonNull INDArray labelStd) |
Modifier and Type | Method and Description |
---|---|
INDArray |
getLabelMean() |
INDArray |
getLabelStd() |
INDArray |
getMean() |
INDArray |
getStd() |
NormalizerType |
getType()
Get the enum opType of this normalizer
|
void |
load(File... files)
Load the means and standard deviations from the file system
|
protected NormalizerStats.Builder |
newBuilder() |
void |
save(File... files)
Deprecated.
use
NormalizerSerializer instead
Save the current means and standard deviations to the file system |
void |
setLabelStats(@NonNull INDArray labelMean,
@NonNull INDArray labelStd) |
fit, fit, fitLabel, getFeatureStats, getLabelStats, isFit, isFitLabel, preProcess, revert, revertFeatures, revertFeatures, revertLabels, revertLabels, transform, transform, transform, transformLabel, transformLabel
public NormalizerStandardize(@NonNull @NonNull INDArray featureMean, @NonNull @NonNull INDArray featureStd)
public NormalizerStandardize(@NonNull @NonNull INDArray featureMean, @NonNull @NonNull INDArray featureStd, @NonNull @NonNull INDArray labelMean, @NonNull @NonNull INDArray labelStd)
public NormalizerStandardize()
public void setLabelStats(@NonNull @NonNull INDArray labelMean, @NonNull @NonNull INDArray labelStd)
public INDArray getMean()
public INDArray getLabelMean()
public INDArray getStd()
public INDArray getLabelStd()
public void load(File... files) throws IOException
files
- the files to load from. Needs 4 files if normalizing labels, otherwise 2.IOException
public void save(File... files) throws IOException
NormalizerSerializer
instead
Save the current means and standard deviations to the file system
files
- the files to save to. Needs 4 files if normalizing labels, otherwise 2.IOException
protected NormalizerStats.Builder newBuilder()
newBuilder
in class AbstractDataSetNormalizer<DistributionStats>
public NormalizerType getType()
Normalizer
NormalizerSerializerStrategy.getSupportedType()
Copyright © 2020. All rights reserved.