GitHub user BryanCutler opened a pull request:
https://github.com/apache/spark/pull/13787
[SPARK-16079][PYSPARK][ML] Added missing import for
DecisionTreeRegressionModel used in GBTClassificationModel
## What changes were proposed in this pull request?
Fixed missing import for DecisionTreeRegressionModel used in
GBTClassificationModel trees method.
## How was this patch tested?
Local tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/BryanCutler/spark
pyspark-GBTClassificationModel-import-SPARK-16079
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13787.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 #13787
----
commit c66476ea8d31db92a6723d5f702bc1be6e0ea2aa
Author: Bryan Cutler <[email protected]>
Date: 2016-06-20T20:48:01Z
Added import for DecisionTreeRegressionModel to fix NameError in GBT model
commit dc5a6de599cbc9eb5bffed2f14073cab37bb334e
Author: Bryan Cutler <[email protected]>
Date: 2016-06-20T20:59:08Z
reformatted imports to be more consistent
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]