public static class DistributionStats.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DistributionStats.Builder |
add(INDArray data,
INDArray mask)
Add rows of data to the statistics
|
DistributionStats.Builder |
addFeatures(DataSet dataSet)
Add the features of a DataSet to the statistics
|
DistributionStats.Builder |
addLabels(DataSet dataSet)
Add the labels of a DataSet to the statistics
|
DistributionStats |
build()
Create a DistributionStats object from the data ingested so far.
|
static List<DistributionStats> |
buildList(List<DistributionStats.Builder> builders)
Utility function for building a list of DistributionStat objects from a list of builders
|
public DistributionStats.Builder addFeatures(@NonNull DataSet dataSet)
public DistributionStats.Builder addLabels(@NonNull DataSet dataSet)
public DistributionStats.Builder add(@NonNull INDArray data, INDArray mask)
data
- the matrix containing multiple rows of data to includemask
- (optionally) the mask of the data, useful for e.g. time seriespublic DistributionStats build()
public static List<DistributionStats> buildList(@NonNull List<DistributionStats.Builder> builders)
builders
- the buildersCopyright © 2016. All Rights Reserved.