Ryosuke Horiuchi created SPARK-39446:
----------------------------------------

             Summary: Add relevance score for nDCG evaluation in MLLIB
                 Key: SPARK-39446
                 URL: https://issues.apache.org/jira/browse/SPARK-39446
             Project: Spark
          Issue Type: Improvement
          Components: MLlib
    Affects Versions: 3.2.1
            Reporter: Ryosuke Horiuchi


The current implementation of ndcgAt function treats relevance score as binary 
(as written 
[Document|[https://spark.apache.org/docs/latest/api/python/reference/api/pyspark.mllib.evaluation.RankingMetrics.html#pyspark.mllib.evaluation.RankingMetrics.ndcgAt]|https://spark.apache.org/docs/latest/api/python/reference/api/pyspark.mllib.evaluation.RankingMetrics.html#pyspark.mllib.evaluation.RankingMetrics.ndcgAt].]

 

However, it is better to extend this to accept a user-defined relevance score 
to calculate nDCG more flexibly. 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to