GitHub user ericl opened a pull request:
https://github.com/apache/spark/pull/7771
[SPARK-9463] [ML] Expose model coefficients with names in SparkR RFormula
Preview:
```
> summary(m)
features coefficients
1 (Intercept) 1.6765001
2 Sepal_Length 0.3498801
3 Species.versicolor -0.9833885
4 Species.virginica -1.0075104
```
Design doc from umbrella task:
https://docs.google.com/document/d/10NZNSEurN2EdWM31uFYsgayIPfCFHiuIu3pCWrUmP_c/edit
cc @mengxr
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/ericl/spark summary
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/7771.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 #7771
----
commit 8c539aa87cf304b874db3e600ee1416b642b4697
Author: Eric Liang <[email protected]>
Date: 2015-07-29T22:56:49Z
first pass
commit 3c55024282fbb14c903e2f2a40e099d6684af2c3
Author: Eric Liang <[email protected]>
Date: 2015-07-30T02:21:48Z
working
commit 7c247d4f5c5f9486c3543d0fc24938cd9d70c935
Author: Eric Liang <[email protected]>
Date: 2015-07-30T02:23:59Z
Merge branch 'master' into summary
Conflicts:
R/pkg/inst/tests/test_mllib.R
commit 70483efe5c220fbfbf9a57bee893a94bc63eadb0
Author: Eric Liang <[email protected]>
Date: 2015-07-30T02:47:25Z
fix test
----
---
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]