huaxingao commented on a change in pull request #25715: 
[SPARK-28969][PYTHON][ML] OneVsRestParams parity between scala and python
URL: https://github.com/apache/spark/pull/25715#discussion_r322898698
 
 

 ##########
 File path: python/pyspark/ml/classification.py
 ##########
 @@ -1959,6 +1950,15 @@ def setParams(self, featuresCol="features", 
labelCol="label", predictionCol="pre
         kwargs = self._input_kwargs
         return self._set(**kwargs)
 
+    @since("2.0.0")
 
 Review comment:
   @dilipbiswal 
   Yes, it's ok to keep 2.0.0. The method was originally in 2.0.0 in the 
subclass of `OneVsRest`. Now it was moved to `OneVsRest`.

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