GitHub user vectorijk opened a pull request:
https://github.com/apache/spark/pull/13690
[SPARK-15767][R][ML][WIP] Decision Tree Regression wrapper in SparkR
## What changes were proposed in this pull request?
Implement a wrapper in SparkR to support decision tree regression. R's
naive Decision Tree Regression implementation is from package rpart with
signature `rpart(formula, dataframe, method="anova")`. I propose we could
implement API like `spark.rpart(dataframe, formula, ...)` . After having
implemented decision tree classification, we could refactor this two into an
API more like `rpart()`.
## How was this patch tested?
Test with unit test in SparkR
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/vectorijk/spark DEV-DTRegression
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13690.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 #13690
----
commit 7ea95448829c3e981ae05542e1aaae77f2f996ce
Author: Kai Jiang <[email protected]>
Date: 2016-06-04T11:29:41Z
init step
lack of implementing unit test for spark.rpart
----
---
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]