GitHub user leahmcguire opened a pull request:
https://github.com/apache/spark/pull/6073
[SPARK-7545][mllib] Added check in Bernoulli Naive Bayes to make sure that
both training and predict feature have values of 0 or 1
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/leahmcguire/spark binaryCheckNB
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/6073.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 #6073
----
commit 04f0d3c6732ce503de95c0b3e8bcf87f16767877
Author: leahmcguire <[email protected]>
Date: 2015-05-05T17:40:09Z
Added stats from cross validation as a val in the cross validation model to
save them for user access
commit 58d060b518133b1e64ef86ca7aee61b76d6c6990
Author: leahmcguire <[email protected]>
Date: 2015-05-08T01:16:27Z
changed param name and test according to comments
commit f191c71afcfe1b9a0d989669c152fad58d4bab89
Author: leahmcguire <[email protected]>
Date: 2015-05-08T01:20:55Z
fixed name
commit 67253f08cdf97a32c7caf2c6e65fee495e218aad
Author: leahmcguire <[email protected]>
Date: 2015-05-12T03:52:53Z
added check to bernoulli to ensure feature values are zero or one
commit f44bb3c39c0d73e7d8a67a6e79f6bd741cdb0425
Author: leahmcguire <[email protected]>
Date: 2015-05-12T04:07:00Z
removed changes from CV branch
commit 831fd279e16a97711b30346c19a1dcde16728f19
Author: leahmcguire <[email protected]>
Date: 2015-05-12T05:28:51Z
got test working
----
---
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]