zhengruifeng commented on a change in pull request #24869: 
[SPARK-28045][ML][PYTHON] add missing RankingEvaluator
URL: https://github.com/apache/spark/pull/24869#discussion_r295591640
 
 

 ##########
 File path: python/pyspark/ml/evaluation.py
 ##########
 @@ -545,6 +545,99 @@ def getDistanceMeasure(self):
         return self.getOrDefault(self.distanceMeasure)
 
 
+@inherit_doc
+class RankingEvaluator(JavaEvaluator, HasLabelCol, HasPredictionCol,
 
 Review comment:
   I reviewed other several python files and found that no python classset 
since annotation here.
   It seems that it's the python convention.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

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

Reply via email to