org.apache.spark.streamdm.evaluation
Process the result of a predicted stream of Examples and Doubles.
Process the result of a predicted stream of Examples and Doubles.
the input stream containing (Example,Double) tuples
a stream of String with the processed evaluation
Get the evaluation result.
Get the evaluation result.
a Double containing the evaluation result
Clustering evaluator which computes, for each RDD of Example-Double tuples, the clustering cohesion measure (SSE). This is the sum of square distances between Examples and the centroid of their assigned cluster.