You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Mohd Shukri Hasan <hs...@outlook.com> on 2019/11/29 18:35:50 UTC

[SPARK MLlib Beginner] What are the ranking metrics methods available in scala that are missing in python?

Hello,

In ranking_metrics_example.py (https://github.com/apache/spark/blob/master/examples/src/main/python/mllib/ranking_metrics_example.py) there is this comment:

# Several of the methods available in scala are currently missing from pyspark


Just wanted to know what are the missing methods.

Also, the file actually does regression metrics, unlike the RankingMetricsExample.scala file which actually demo a few ranking metrics. Is the Python example out of date?