You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@spark.apache.org by GitBox <gi...@apache.org> on 2022/06/22 03:03:59 UTC

[GitHub] [spark] zhengruifeng commented on a diff in pull request #36926: [SPARK-39533][ML] Deprecate scoreLabelsWeight in BinaryClassificationMetrics

zhengruifeng commented on code in PR #36926:
URL: https://github.com/apache/spark/pull/36926#discussion_r903239900


##########
mllib/src/main/scala/org/apache/spark/mllib/evaluation/BinaryClassificationMetrics.scala:
##########
@@ -45,6 +45,8 @@ class BinaryClassificationMetrics @Since("3.0.0") (
     @Since("1.3.0") val scoreAndLabels: RDD[_ <: Product],
     @Since("1.3.0") val numBins: Int = 1000)
   extends Logging {
+
+  @deprecated("this variable should be private and will be removed in 4.0.0.", "3.4.0")

Review Comment:
   sureļ¼



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

To unsubscribe, e-mail: reviews-unsubscribe@spark.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


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