diff options
author | sethah <seth.hendrickson16@gmail.com> | 2016-03-11 09:54:23 +0200 |
---|---|---|
committer | Nick Pentreath <nick.pentreath@gmail.com> | 2016-03-11 09:54:23 +0200 |
commit | 234f781ae19370ce1ab485e364a6fdab7ed2598c (patch) | |
tree | 51f3ceb0e1120968bd541afe61948e90d664bd13 /examples/src | |
parent | 0b713e0455d01999d5a027ddc2ea8527eb085b34 (diff) | |
download | spark-234f781ae19370ce1ab485e364a6fdab7ed2598c.tar.gz spark-234f781ae19370ce1ab485e364a6fdab7ed2598c.tar.bz2 spark-234f781ae19370ce1ab485e364a6fdab7ed2598c.zip |
[SPARK-13787][ML][PYSPARK] Pyspark feature importances for decision tree and random forest
## What changes were proposed in this pull request?
This patch adds a `featureImportance` property to the Pyspark API for `DecisionTreeRegressionModel`, `DecisionTreeClassificationModel`, `RandomForestRegressionModel` and `RandomForestClassificationModel`.
## How was this patch tested?
Python doc tests for the affected classes were updated to check feature importances.
Author: sethah <seth.hendrickson16@gmail.com>
Closes #11622 from sethah/SPARK-13787.
Diffstat (limited to 'examples/src')
0 files changed, 0 insertions, 0 deletions