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 longcountMaxValueprotected longcountMinValueprotected longcountNegativeprotected longcountPositiveprotected longcountTotalprotected longcountZeroprotected com.tdunning.math.stats.TDigestdigestprotected long[]histogramBucketCountsprotected double[]histogramBucketsprotected doublemeanprotected doublesampleStdevprotected doublesampleVariance
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TcountMaxValue(long countMaxValue)TcountMinValue(long countMinValue)TcountNegative(long countNegative)TcountPositive(long countPositive)TcountTotal(long countTotal)TcountZero(long countZero)Tdigest(com.tdunning.math.stats.TDigest digest)ThistogramBucketCounts(long[] histogramBucketCounts)ThistogramBuckets(double[] histogramBuckets)Tmean(double mean)TsampleStdev(double sampleStdev)TsampleVariance(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)
-
-