GitHub user yanboliang opened a pull request:

    https://github.com/apache/spark/pull/15431

    [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 response variable of dataset 
is numeric type.
    See details and 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-2

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/15431.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 #15431
    
----
commit 44be8c95ef683610a31f9261e484fd82b480a430
Author: Yanbo Liang <yblia...@gmail.com>
Date:   2016-10-11T09:17:42Z

    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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to