public class StandardScaler extends Object
| Constructor and Description |
|---|
StandardScaler() |
| Modifier and Type | Method and Description |
|---|---|
void |
fit(DataSet dataSet) |
void |
fit(DataSetIterator iterator)
Fit the given model
|
INDArray |
getMean() |
INDArray |
getStd() |
void |
load(File mean,
File std)
Load the given mean and std
|
void |
save(File mean,
File std)
Save the current mean and std
|
void |
transform(DataSet dataSet)
Transform the data
|
public void fit(DataSet dataSet)
public void fit(DataSetIterator iterator)
iterator - the data to iterate oerpublic void load(File mean, File std) throws IOException
mean - the mean filestd - the std fileIOExceptionpublic void save(File mean, File std) throws IOException
mean - the meanstd - the stdIOExceptionpublic void transform(DataSet dataSet)
dataSet - the dataset to transformpublic INDArray getMean()
public INDArray getStd()
Copyright © 2016. All Rights Reserved.