public class NormalizerStandardize extends AbstractDataSetNormalizer<DistributionStats>
strategy| Constructor and Description |
|---|
NormalizerStandardize() |
NormalizerStandardize(INDArray featureMean,
INDArray featureStd) |
NormalizerStandardize(INDArray featureMean,
INDArray featureStd,
INDArray labelMean,
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(INDArray labelMean,
INDArray labelStd) |
fit, fit, fitLabel, getFeatureStats, getLabelStats, isFit, isFitLabel, preProcess, revert, revertFeatures, revertFeatures, revertLabels, revertLabels, transform, transform, transform, transformLabel, transformLabelpublic NormalizerStandardize(@NonNull
INDArray featureMean,
@NonNull
INDArray featureStd)
public NormalizerStandardize(@NonNull
INDArray featureMean,
@NonNull
INDArray featureStd,
@NonNull
INDArray labelMean,
@NonNull
INDArray labelStd)
public NormalizerStandardize()
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.IOExceptionpublic 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.IOExceptionprotected NormalizerStats.Builder newBuilder()
newBuilder in class AbstractDataSetNormalizer<DistributionStats>public NormalizerType getType()
NormalizerNormalizerSerializerStrategy.getSupportedType()Copyright © 2018. All rights reserved.