简体   繁体   中英

Metrics of the class RankingMetrics, Spark

I use currently the class RankingMetrics and can calculate the precision . According API of this class, the method for the calculating of recall doesn't exist. Can somebody tell me, where I can find the implementation of recall for Spark Java?

PS I have found also some useful link over all metrics

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+]

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM