Class LongAnalysisCounter
- java.lang.Object
-
- org.datavec.api.transform.analysis.counter.LongAnalysisCounter
-
- All Implemented Interfaces:
Serializable,AnalysisCounter<LongAnalysisCounter>
public class LongAnalysisCounter extends Object implements AnalysisCounter<LongAnalysisCounter>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LongAnalysisCounter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LongAnalysisCounteradd(Writable writable)longgetCountTotal()longgetMaxValueSeen()doublegetMean()longgetMinValueSeen()doublegetSampleStdev()doublegetSampleVariance()longgetSum()LongAnalysisCountermerge(LongAnalysisCounter other)
-
-
-
Method Detail
-
getMinValueSeen
public long getMinValueSeen()
-
getMaxValueSeen
public long getMaxValueSeen()
-
getSum
public long getSum()
-
getCountTotal
public long getCountTotal()
-
getSampleStdev
public double getSampleStdev()
-
getMean
public double getMean()
-
getSampleVariance
public double getSampleVariance()
-
add
public LongAnalysisCounter add(Writable writable)
- Specified by:
addin interfaceAnalysisCounter<LongAnalysisCounter>
-
merge
public LongAnalysisCounter merge(LongAnalysisCounter other)
- Specified by:
mergein interfaceAnalysisCounter<LongAnalysisCounter>
-
-