GitHub user tilumi opened a pull request:
https://github.com/apache/spark/pull/13627
[SPARK-15906][MLlib][WIP] Add complementary naive bayes algorithm
## What changes were proposed in this pull request?
Add `ComplementaryNaiveBayes.scala` in package
`org.apache.spark.mllib.classification` in MLlib module
## How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration
tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise,
remove this)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/tilumi/spark add_complementary_navie_bayes
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/13627.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 #13627
----
commit 4f67cd12364a830fa579e443c716dd09a9f13f8a
Author: Lucas Yang <[email protected]>
Date: 2016-06-11T04:37:55Z
extract data aggregattion part in run as method
commit d9f6191676c5c2253dcc6983e4418bcb67cf02b9
Author: Lucas Yang <[email protected]>
Date: 2016-06-11T04:38:18Z
add complementary naive bayes algorithm
commit 0f02643db606944e2f919ebeaae427efb45515b7
Author: Lucas Yang <[email protected]>
Date: 2016-06-12T23:03:09Z
add Since annotation
----
---
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]