GitHub user mengxr opened a pull request:
https://github.com/apache/spark/pull/6277
[SPARK-7752][MLLIB] Use lowercase letters for NaiveBayes.modelType
to be consistent with other string names in MLlib. This PR also updates the
implementation to use vals instead of hardcoded strings. @jkbradley
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/mengxr/spark SPARK-7752
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/6277.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 #6277
----
commit 17bba537447aa400292c67df9b4a99e3e2c15061
Author: Xiangrui Meng <[email protected]>
Date: 2015-05-20T06:46:27Z
update naive Bayes to use lowercase model type strings
commit 3c456a816668407d4760f52a9e45e5549a3390fb
Author: Xiangrui Meng <[email protected]>
Date: 2015-05-20T06:51:13Z
update NB user guide
commit 264a814fc94c3a6a6e6a2aef0c3564f9ce602f34
Author: Xiangrui Meng <[email protected]>
Date: 2015-05-20T06:59:32Z
add case _ back
----
---
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]