Guforu Guforu - 1 year ago 113
Java Question

Metrics of the class RankingMetrics, Spark

I use currently the class RankingMetrics and can calculate the

. According API of this class, the method for the calculating of
doesn't exist. Can somebody tell me, where I can find the implementation of
for Spark Java?

I have found also some useful link over all metrics

Answer Source

The recall method exists just with the org.apache.spark.mllib.evaluation.MulticlassMetrics, org.apache.spark.mllib.evaluation.MultilabelMetrics and org.apache.spark.mllib.evaluation.BinaryClassificationMetrics for the moment.

Check the javadoc for MulticlassMetrics, MultilabelMetrics and BinaryClassificationMetrics.

[with Spark 1.1+]

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download