[
https://issues.apache.org/jira/browse/SPARK-30630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dongjoon Hyun resolved SPARK-30630.
-----------------------------------
Fix Version/s: 3.0.0
2.4.5
Resolution: Fixed
Issue resolved by pull request 27330
[https://github.com/apache/spark/pull/27330]
> Deprecate numTrees in GBT at 2.4.5 and remove it at 3.0.0
> ---------------------------------------------------------
>
> Key: SPARK-30630
> URL: https://issues.apache.org/jira/browse/SPARK-30630
> Project: Spark
> Issue Type: Improvement
> Components: ML
> Affects Versions: 2.4.5, 3.0.0
> Reporter: Huaxin Gao
> Assignee: Huaxin Gao
> Priority: Minor
> Fix For: 2.4.5, 3.0.0
>
>
> Currently, GBT has
> {code:java}
> /**
> * Number of trees in ensemble
> */
> @Since("2.0.0")
> val getNumTrees: Int = trees.length{code}
> and
> {code:java}
> /** Number of trees in ensemble */
> val numTrees: Int = trees.length{code}
> I will deprecate numTrees in 2.4.5 and remove it in 3.0.0
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]