public class GroupedCountEvaluator<T> extends Object implements ApproximateEvaluator<org.apache.spark.util.collection.OpenHashMap<T,Object>,scala.collection.Map<T,BoundedDouble>>
Constructor and Description |
---|
GroupedCountEvaluator(int totalOutputs,
double confidence,
scala.reflect.ClassTag<T> evidence$1) |
Modifier and Type | Method and Description |
---|---|
scala.collection.Map<T,BoundedDouble> |
currentResult() |
void |
merge(int outputId,
org.apache.spark.util.collection.OpenHashMap<T,Object> taskResult) |
int |
outputsMerged() |
org.apache.spark.util.collection.OpenHashMap<T,Object> |
sums() |
public GroupedCountEvaluator(int totalOutputs, double confidence, scala.reflect.ClassTag<T> evidence$1)
public int outputsMerged()
public org.apache.spark.util.collection.OpenHashMap<T,Object> sums()
public void merge(int outputId, org.apache.spark.util.collection.OpenHashMap<T,Object> taskResult)
merge
in interface ApproximateEvaluator<org.apache.spark.util.collection.OpenHashMap<T,Object>,scala.collection.Map<T,BoundedDouble>>
public scala.collection.Map<T,BoundedDouble> currentResult()
currentResult
in interface ApproximateEvaluator<org.apache.spark.util.collection.OpenHashMap<T,Object>,scala.collection.Map<T,BoundedDouble>>