Package org.apache.sysds.utils
Class Statistics.NGramStats
- java.lang.Object
-
- org.apache.sysds.utils.Statistics.NGramStats
-
- Enclosing class:
- Statistics
public static class Statistics.NGramStats extends Object
-
-
Field Summary
Fields Modifier and Type Field Description long
cumTimeNanos
double
m2
long
n
-
Constructor Summary
Constructors Constructor Description NGramStats(long n, long cumTimeNanos, double m2)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <T> Comparator<NGramBuilder.NGramEntry<T,Statistics.NGramStats>>
getComparator()
double
getTimeVariance()
static Statistics.NGramStats
merge(Statistics.NGramStats stats1, Statistics.NGramStats stats2)
String
toString()
-
-
-
Method Detail
-
getComparator
public static <T> Comparator<NGramBuilder.NGramEntry<T,Statistics.NGramStats>> getComparator()
-
merge
public static Statistics.NGramStats merge(Statistics.NGramStats stats1, Statistics.NGramStats stats2)
-
getTimeVariance
public double getTimeVariance()
-
-