Class StringAnalysisCounter
- java.lang.Object
-
- org.datavec.api.transform.analysis.counter.StringAnalysisCounter
-
- All Implemented Interfaces:
Serializable
,AnalysisCounter<StringAnalysisCounter>
public class StringAnalysisCounter extends Object implements AnalysisCounter<StringAnalysisCounter>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StringAnalysisCounter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringAnalysisCounter
add(Writable writable)
long
getCountTotal()
int
getMaxLengthSeen()
double
getMean()
int
getMinLengthSeen()
double
getSampleStdev()
double
getSampleVariance()
long
getSumLength()
StringAnalysisCounter
merge(StringAnalysisCounter other)
-
-
-
Method Detail
-
getMinLengthSeen
public int getMinLengthSeen()
-
getMaxLengthSeen
public int getMaxLengthSeen()
-
getSumLength
public long getSumLength()
-
getCountTotal
public long getCountTotal()
-
getSampleStdev
public double getSampleStdev()
-
getMean
public double getMean()
-
getSampleVariance
public double getSampleVariance()
-
add
public StringAnalysisCounter add(Writable writable)
- Specified by:
add
in interfaceAnalysisCounter<StringAnalysisCounter>
-
merge
public StringAnalysisCounter merge(StringAnalysisCounter other)
- Specified by:
merge
in interfaceAnalysisCounter<StringAnalysisCounter>
-
-