GitHub user mgaido91 opened a pull request: https://github.com/apache/spark/pull/23093
[SPARK-26127][ML] Remove deprecated setImpurity from tree regression and classification models ## What changes were proposed in this pull request? The method `setImpurity` is deprecated since 2.1 for the models of regression and classification using trees. The deprecation was stating that the method would have been removed in 3.0. Hence the PR removes the deprecated method. ## How was this patch tested? NA You can merge this pull request into a Git repository by running: $ git pull https://github.com/mgaido91/spark SPARK-26127 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/23093.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #23093 ---- commit 56d61f3d376465dea9670f81ec5dee976c6ec6a4 Author: Marco Gaido <marcogaido91@...> Date: 2018-11-20T09:35:25Z [SPARK-26127][ML] Remove deprecated setImpurity from tree regression and classification models ---- --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org