GitHub user yanboliang opened a pull request:
https://github.com/apache/spark/pull/13675
[SPARK-15957] [ML] RFormula supports forcing to index label
## What changes were proposed in this pull request?
Add param to make users can force to index label whether it is numeric or
string. For classification algorithms, we force to index label by setting it
with true.
## How was this patch tested?
Unit tests.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yanboliang/spark spark-15957
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13675.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 #13675
----
commit 24ef9baa3b2aa110ce447d935959855fcb954a8e
Author: Yanbo Liang <[email protected]>
Date: 2016-06-14T23:58:00Z
RFormula supports forcing to index 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]