GitHub user yanboliang opened a pull request:
https://github.com/apache/spark/pull/8519
[SPARK-10349] [ML] OneVsRest use 'when ... otherwise' not UDF to generate
new label at binary reduction
Currently OneVsRest use UDF to generate new binary label during training.
Considering that
[SPARK-7321](https://issues.apache.org/jira/browse/SPARK-7321) has been merged,
we can use ```when ... otherwise```.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yanboliang/spark spark-10349
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/8519.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 #8519
----
commit 3ffdd36860f1d982c0a0cd50118a9e38c7c1313c
Author: Yanbo Liang <[email protected]>
Date: 2015-08-29T08:53:34Z
OneVsRest use 'when ... otherwise' not UDF to generate new label at binary
reduction
----
---
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]