GitHub user sethah opened a pull request:
https://github.com/apache/spark/pull/12056
[SPARK-14264][PYSPARK][ML] Add feature importance for GBTs in pyspark
## What changes were proposed in this pull request?
Feature importances are exposed in the python API for GBTs.
Other changes:
* Update the random forest feature importance documentation to not repeat
decision tree docstring and instead place a reference to it.
## How was this patch tested?
Python doc tests were updated to validate GBT feature importance.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/sethah/spark Pyspark_GBT_feature_importance
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/12056.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 #12056
----
commit 892d30123a192cd3796892c0f64a5cf2993e1f09
Author: sethah <[email protected]>
Date: 2016-03-30T04:50:33Z
adding feature importance to gbts in pyspark
----
---
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]