spark-instrumented-optimizer/python/pyspark/ml
sethah 234f781ae1 [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.
2016-03-11 09:54:23 +02:00
..
param [SPARK-13625][PYSPARK][ML] Added a check to see if an attribute is a property when getting param list 2016-03-08 17:34:25 -08:00
__init__.py [SPARK-7535] [.0] [MLLIB] Audit the pipeline APIs for 1.4 2015-05-21 22:57:33 -07:00
classification.py [SPARK-13787][ML][PYSPARK] Pyspark feature importances for decision tree and random forest 2016-03-11 09:54:23 +02:00
clustering.py [SPARK-13008][ML][PYTHON] Put one alg per line in pyspark.ml all lists 2016-03-01 21:26:47 -08:00
evaluation.py [SPARK-10509][PYSPARK] Reduce excessive param boiler plate code 2016-01-26 15:53:48 -08:00
feature.py [SPARK-13036][SPARK-13318][SPARK-13319] Add save/load for feature.py 2016-03-04 08:32:24 -08:00
pipeline.py [SPARK-10509][PYSPARK] Reduce excessive param boiler plate code 2016-01-26 15:53:48 -08:00
recommendation.py [SPARK-13302][PYSPARK][TESTS] Move the temp file creation and cleanup outside of the doctests 2016-02-20 09:07:19 +00:00
regression.py [SPARK-13787][ML][PYSPARK] Pyspark feature importances for decision tree and random forest 2016-03-11 09:54:23 +02:00
tests.py [SPARK-13625][PYSPARK][ML] Added a check to see if an attribute is a property when getting param list 2016-03-08 17:34:25 -08:00
tuning.py [SPARK-12877][ML] Add train-validation-split to pyspark 2016-03-03 09:50:05 -08:00
util.py [SPARK-13032][ML][PYSPARK] PySpark support model export/import and take LinearRegression as example 2016-01-29 09:22:24 -08:00
wrapper.py [SPARK-13153][PYSPARK] ML persistence failed when handle no default value parameter 2016-02-11 18:38:49 -08:00