GitHub user yanboliang opened a pull request: https://github.com/apache/spark/pull/16017
[SPARK-18592][ML] Move DT/RF/GBT Param setter methods to subclasses ## What changes were proposed in this pull request? Mainly two changes: * Move DT/RF/GBT Param setter methods to subclasses. * Deprecate corresponding setter methods in the model classes. See discussion here https://github.com/apache/spark/pull/15913#discussion_r89662469. ## How was this patch tested? Existing tests. You can merge this pull request into a Git repository by running: $ git pull https://github.com/yanboliang/spark spark-18592 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/16017.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 #16017 ---- commit 7e52a0856c1381cd751ddc10f0195866bd40b404 Author: Yanbo Liang <yblia...@gmail.com> Date: 2016-11-26T15:36:23Z Put DT/RF/GBT setter methods into each subclass. commit 39cbf4267d9d136f6a16f85e8e2d88939a35e22f Author: Yanbo Liang <yblia...@gmail.com> Date: 2016-11-26T15:46:40Z Deprecate DT/RF/GBT setter methods in the Model classes ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org