public static class MinMaxStats.Builder extends Object implements NormalizerStats.Builder<MinMaxStats>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
MinMaxStats.Builder |
add(INDArray data,
INDArray mask)
Add rows of data to the statistics
|
MinMaxStats.Builder |
addFeatures(DataSet dataSet)
Add the features of a DataSet to the statistics
|
MinMaxStats.Builder |
addLabels(DataSet dataSet)
Add the labels of a DataSet to the statistics
|
MinMaxStats |
build()
Create a DistributionStats object from the data ingested so far.
|
public MinMaxStats.Builder addFeatures(@NonNull DataSet dataSet)
addFeatures
in interface NormalizerStats.Builder<MinMaxStats>
public MinMaxStats.Builder addLabels(@NonNull DataSet dataSet)
addLabels
in interface NormalizerStats.Builder<MinMaxStats>
public MinMaxStats.Builder add(@NonNull INDArray data, INDArray mask)
add
in interface NormalizerStats.Builder<MinMaxStats>
data
- the matrix containing multiple rows of data to includemask
- (optionally) the mask of the data, useful for e.g. time seriespublic MinMaxStats build()
build
in interface NormalizerStats.Builder<MinMaxStats>
Copyright © 2017. All rights reserved.