GitHub user yanboliang opened a pull request:
https://github.com/apache/spark/pull/12930
[SPARK-15153] [ML] [SparkR] Fix SparkR spark.naiveBayes error when label is
numeric type
## What changes were proposed in this pull request?
Fix SparkR ```spark.naiveBayes``` error when label is numeric type.
See details about how to reproduce this bug at
[SPARK-15153](https://issues.apache.org/jira/browse/SPARK-15153).
## How was this patch tested?
Add unit test.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/yanboliang/spark spark-15153
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/12930.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 #12930
----
commit bc2c0a372930392285abd27d11926e131e617822
Author: Yanbo Liang <[email protected]>
Date: 2016-05-05T10:50:54Z
Fix SparkR spark.naiveBayes error when label is numeric type
----
---
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]