dongjoon-hyun commented on a change in pull request #25547: [SPARK-28780][ML] 
deprecate LinearSVCModel.setWeightCol for 2.4.4
URL: https://github.com/apache/spark/pull/25547#discussion_r316486993
 
 

 ##########
 File path: 
mllib/src/main/scala/org/apache/spark/ml/classification/LinearSVC.scala
 ##########
 @@ -313,7 +313,8 @@ class LinearSVCModel private[classification] (
   setDefault(threshold, 0.0)
 
   @Since("2.2.0")
-  def setWeightCol(value: Double): this.type = set(threshold, value)
+  @deprecated("This method is deprecated and will be removed in the future.", 
"2.4.4")
 
 Review comment:
   Since we already removed this, shall we use `in 3.0.0` instead of `in the 
future`?

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to