GitHub user holdenk opened a pull request:
https://github.com/apache/spark/pull/12919
[SPARK-15139][SPARK-15092][PYSPARK][ML] Pyspark TreeEnsemble missing methods
## What changes were proposed in this pull request?
Add `toDebugString` and `totalNumNodes` to `TreeEnsembleModels`
## How was this patch tested?
Extended doc tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/holdenk/spark
SPARK-15139-pyspark-treeEnsemble-missing-methods
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/12919.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 #12919
----
commit 1ffb02fcf6e502baa3dfdf750f480fb16cf06c42
Author: Holden Karau <[email protected]>
Date: 2016-05-05T04:23:39Z
Add totalNumNodes and toDebugString to TreeEnsembleModels
commit 6400e9e3d7e096b05475cca548e31aabca8cbaff
Author: Holden Karau <[email protected]>
Date: 2016-05-05T04:23:53Z
Add tests using GBTClassifier
----
---
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]