GitHub user d2Code opened a pull request:
https://github.com/apache/spark/pull/15622
[SPARK-18092][ML] Avoid column prediction type error
## What changes were proposed in this pull request?
Cast column prediction's type to Double in both
```BinaryClassificationEvaluator``` and ```MulticlassClassificationEvaluator```
## How was this patch tested?
manual tests
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/d2Code/spark develop
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/15622.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 #15622
----
commit 473d4b92c14a8b45e1a20841af1c1cbd44007381
Author: d2Code <[email protected]>
Date: 2016-10-25T12:36:14Z
fix prediction type error
commit 8313555fe2c04a1e60f6ff55b76cc22dd543ad89
Author: d2Code <[email protected]>
Date: 2016-10-25T12:37:19Z
fix prediction type error
----
---
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]