diff options
author | leahmcguire <lmcguire@salesforce.com> | 2015-05-13 14:13:19 -0700 |
---|---|---|
committer | Joseph K. Bradley <joseph@databricks.com> | 2015-05-13 14:13:19 -0700 |
commit | 61e05fc58e1245de871c409b60951745b5db3420 (patch) | |
tree | 5265a0e3646ca4d5d5194a3c3144c16da911b6e8 /core | |
parent | 5db18ba6e1bd8c6307c41549176c53590cf344a0 (diff) | |
download | spark-61e05fc58e1245de871c409b60951745b5db3420.tar.gz spark-61e05fc58e1245de871c409b60951745b5db3420.tar.bz2 spark-61e05fc58e1245de871c409b60951745b5db3420.zip |
[SPARK-7545] [MLLIB] Added check in Bernoulli Naive Bayes to make sure that both training and predict features have values of 0 or 1
Author: leahmcguire <lmcguire@salesforce.com>
Closes #6073 from leahmcguire/binaryCheckNB and squashes the following commits:
b8442c2 [leahmcguire] changed to if else for value checks
911bf83 [leahmcguire] undid reformat
4eedf1e [leahmcguire] moved bernoulli check
9ee9e84 [leahmcguire] fixed style error
3f3b32c [leahmcguire] fixed zero one check so only called in combiner
831fd27 [leahmcguire] got test working
f44bb3c [leahmcguire] removed changes from CV branch
67253f0 [leahmcguire] added check to bernoulli to ensure feature values are zero or one
f191c71 [leahmcguire] fixed name
58d060b [leahmcguire] changed param name and test according to comments
04f0d3c [leahmcguire] Added stats from cross validation as a val in the cross validation model to save them for user access
Diffstat (limited to 'core')
0 files changed, 0 insertions, 0 deletions