Class NumericalColumnAnalysis.Builder<T extends NumericalColumnAnalysis.Builder<T>>
- java.lang.Object
-
- org.datavec.api.transform.analysis.columns.NumericalColumnAnalysis.Builder<T>
-
- Direct Known Subclasses:
DoubleAnalysis.Builder
,IntegerAnalysis.Builder
,LongAnalysis.Builder
,TimeAnalysis.Builder
- Enclosing class:
- NumericalColumnAnalysis
public abstract static class NumericalColumnAnalysis.Builder<T extends NumericalColumnAnalysis.Builder<T>> extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected long
countMaxValue
protected long
countMinValue
protected long
countNegative
protected long
countPositive
protected long
countTotal
protected long
countZero
protected com.tdunning.math.stats.TDigest
digest
protected long[]
histogramBucketCounts
protected double[]
histogramBuckets
protected double
mean
protected double
sampleStdev
protected double
sampleVariance
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
countMaxValue(long countMaxValue)
T
countMinValue(long countMinValue)
T
countNegative(long countNegative)
T
countPositive(long countPositive)
T
countTotal(long countTotal)
T
countZero(long countZero)
T
digest(com.tdunning.math.stats.TDigest digest)
T
histogramBucketCounts(long[] histogramBucketCounts)
T
histogramBuckets(double[] histogramBuckets)
T
mean(double mean)
T
sampleStdev(double sampleStdev)
T
sampleVariance(double sampleVariance)
-
-
-
Field Detail
-
mean
protected double mean
-
sampleStdev
protected double sampleStdev
-
sampleVariance
protected double sampleVariance
-
countZero
protected long countZero
-
countNegative
protected long countNegative
-
countPositive
protected long countPositive
-
countMinValue
protected long countMinValue
-
countMaxValue
protected long countMaxValue
-
countTotal
protected long countTotal
-
histogramBuckets
protected double[] histogramBuckets
-
histogramBucketCounts
protected long[] histogramBucketCounts
-
digest
protected com.tdunning.math.stats.TDigest digest
-
-
Method Detail
-
mean
public T mean(double mean)
-
sampleStdev
public T sampleStdev(double sampleStdev)
-
sampleVariance
public T sampleVariance(double sampleVariance)
-
countZero
public T countZero(long countZero)
-
countNegative
public T countNegative(long countNegative)
-
countPositive
public T countPositive(long countPositive)
-
countMinValue
public T countMinValue(long countMinValue)
-
countMaxValue
public T countMaxValue(long countMaxValue)
-
countTotal
public T countTotal(long countTotal)
-
histogramBuckets
public T histogramBuckets(double[] histogramBuckets)
-
histogramBucketCounts
public T histogramBucketCounts(long[] histogramBucketCounts)
-
digest
public T digest(com.tdunning.math.stats.TDigest digest)
-
-