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 StringAnalysisCounteradd(Writable writable)longgetCountTotal()intgetMaxLengthSeen()doublegetMean()intgetMinLengthSeen()doublegetSampleStdev()doublegetSampleVariance()longgetSumLength()StringAnalysisCountermerge(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:
addin interfaceAnalysisCounter<StringAnalysisCounter>
-
merge
public StringAnalysisCounter merge(StringAnalysisCounter other)
- Specified by:
mergein interfaceAnalysisCounter<StringAnalysisCounter>
-
-