huaxingao opened a new pull request #27352: [SPARK-30630][ML] Deprecate 
numTrees in GBT in 2.4.5
URL: https://github.com/apache/spark/pull/27352
 
 
   
   ### What changes were proposed in this pull request?
   Deprecate numTrees in GBT in 2.4.5 so it can be removed in 3.0.0
   
   
   ### Why are the changes needed?
   Currently, GBT has
   ```
     /**
      * Number of trees in ensemble
      */
     @Since("2.0.0")
     val getNumTrees: Int = trees.length
   ```
   and
   ```
     /** Number of trees in ensemble */
     val numTrees: Int = trees.length
   ```
   I think we should remove one of them. I will deprecate it in 2.4.5 and 
remove it in 3.0.0
   
   
   ### Does this PR introduce any user-facing change?
   Deprecate numTrees in 2.4.5
   
   ### How was this patch tested?
   Existing tests
   

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