public static class HistogramBin.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder(org.nd4j.linalg.api.ndarray.INDArray array)
Build Histogram Builder instance for specified array
|
Modifier and Type | Method and Description |
---|---|
HistogramBin |
build()
Returns ready-to-use Histogram instance
|
HistogramBin.Builder |
setBinCount(int bins)
Specifies number of bins for output histogram
|
HistogramBin.Builder |
setRounding(int rounds)
Sets number of numbers behind decimal part
|
public Builder(org.nd4j.linalg.api.ndarray.INDArray array)
array
- public HistogramBin.Builder setRounding(int rounds)
rounds
- public HistogramBin.Builder setBinCount(int bins)
bins
- public HistogramBin build()