GitHub user wangmiao1981 opened a pull request:
https://github.com/apache/spark/pull/15910
[SPARK-18476][SPARKR][ML]:SparkR Logistic Regression should should support
output original label.
## What changes were proposed in this pull request?
Similar to SPARK-18401, as a classification algorithm, logistic regression
should support output original label instead of supporting index label.
In this PR, original label output is supported and test cases are modified
and added. Document is also modified.
## How was this patch tested?
Unit tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/wangmiao1981/spark audit
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/15910.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 #15910
----
commit e025d9894fa587c9aef837e7e1bbb11b1706b539
Author: [email protected] <[email protected]>
Date: 2016-11-10T22:40:57Z
remove unused import
commit f3f1f0b74a47c17d301b075c136e365917216139
Author: [email protected] <[email protected]>
Date: 2016-11-11T18:23:20Z
add label StringIndexer
commit 7177dd3e0985fa69e8ea7dc4203562f03364f0b1
Author: [email protected] <[email protected]>
Date: 2016-11-17T00:28:40Z
modify test case; add output label
----
---
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]