dongjoon-hyun commented on a change in pull request #27330: [SPARK-30630][ML] 
Deprecate numTrees in GBT
URL: https://github.com/apache/spark/pull/27330#discussion_r370482861
 
 

 ##########
 File path: 
mllib/src/main/scala/org/apache/spark/ml/classification/GBTClassifier.scala
 ##########
 @@ -342,7 +342,12 @@ class GBTClassificationModel private[ml](
     }
   }
 
-  /** Number of trees in ensemble */
+  /**
+   * Number of trees in ensemble
+   *
+   * @deprecated  Use [[getNumTrees]] instead.  This method will be removed in 
3.1.0
+   */
+  @deprecated("Use getNumTrees instead. This method will be removed in 
3.1.0.", "3.0.0")
 
 Review comment:
   It's `2.4.5` because RC is not an official release.
   RC1 vote failed and we are preparing 2.4.5 RC2.

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