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 LongAnalysisCounter
add(Writable writable)
long
getCountTotal()
long
getMaxValueSeen()
double
getMean()
long
getMinValueSeen()
double
getSampleStdev()
double
getSampleVariance()
long
getSum()
LongAnalysisCounter
merge(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:
add
in interfaceAnalysisCounter<LongAnalysisCounter>
-
merge
public LongAnalysisCounter merge(LongAnalysisCounter other)
- Specified by:
merge
in interfaceAnalysisCounter<LongAnalysisCounter>
-
-