aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorsethah <seth.hendrickson16@gmail.com>2016-03-11 09:54:23 +0200
committerNick Pentreath <nick.pentreath@gmail.com>2016-03-11 09:54:23 +0200
commit234f781ae19370ce1ab485e364a6fdab7ed2598c (patch)
tree51f3ceb0e1120968bd541afe61948e90d664bd13 /examples
parent0b713e0455d01999d5a027ddc2ea8527eb085b34 (diff)
downloadspark-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')
0 files changed, 0 insertions, 0 deletions