huaxingao commented on code in PR #36926:
URL: https://github.com/apache/spark/pull/36926#discussion_r903238992
##########
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:
Can we be more specific and say something like "The variable
`scoreLabelsWeight` should be private and will be removed in 4.0.0."?
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]