[
https://issues.apache.org/jira/browse/SPARK-39446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17556235#comment-17556235
]
Apache Spark commented on SPARK-39446:
--------------------------------------
User 'uchiiii' has created a pull request for this issue:
https://github.com/apache/spark/pull/36920
> 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
> Assignee: Ryosuke Horiuchi
> Priority: Minor
> Fix For: 3.4.0
>
>
> 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]