Repository: spark
Updated Branches:
  refs/heads/master 101790820 -> b9ef7ac98


[MLLIB] [DOC] Seed fix in mllib naive bayes example

Previous seed resulted in empty test data set.

Author: Paweł Kozikowski <mupa...@gmail.com>

Closes #7477 from mupakoz/patch-1 and squashes the following commits:

f5d41ee [Paweł Kozikowski] Mllib Naive Bayes example data set enlarged


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/b9ef7ac9
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/b9ef7ac9
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/b9ef7ac9

Branch: refs/heads/master
Commit: b9ef7ac98c3dee3256c4a393e563b42b4612a4bf
Parents: 1017908
Author: Paweł Kozikowski <mupa...@gmail.com>
Authored: Sat Jul 18 10:12:48 2015 -0700
Committer: Xiangrui Meng <m...@databricks.com>
Committed: Sat Jul 18 10:12:48 2015 -0700

----------------------------------------------------------------------
 data/mllib/sample_naive_bayes_data.txt | 6 ++++++
 1 file changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/b9ef7ac9/data/mllib/sample_naive_bayes_data.txt
----------------------------------------------------------------------
diff --git a/data/mllib/sample_naive_bayes_data.txt 
b/data/mllib/sample_naive_bayes_data.txt
index 981da38..bd22bea 100644
--- a/data/mllib/sample_naive_bayes_data.txt
+++ b/data/mllib/sample_naive_bayes_data.txt
@@ -1,6 +1,12 @@
 0,1 0 0
 0,2 0 0
+0,3 0 0
+0,4 0 0
 1,0 1 0
 1,0 2 0
+1,0 3 0
+1,0 4 0
 2,0 0 1
 2,0 0 2
+2,0 0 3
+2,0 0 4
\ No newline at end of file


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

Reply via email to