Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPARK-13787][ML][PYSPARK] Pyspark feature importances for decision tree and random forest #11622

Closed
wants to merge 4 commits into from

Conversation

sethah
Copy link
Contributor

@sethah sethah commented Mar 10, 2016

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.

@SparkQA
Copy link

SparkQA commented Mar 10, 2016

Test build #52789 has finished for PR 11622 at commit f1307a3.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@asfgit asfgit closed this in 234f781 Mar 11, 2016
@MLnick
Copy link
Contributor

MLnick commented Mar 11, 2016

LGTM - merged to master. Thanks!

roygao94 pushed a commit to roygao94/spark that referenced this pull request Mar 22, 2016
…ree 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 apache#11622 from sethah/SPARK-13787.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants