aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaweł Kozikowski <mupakoz@gmail.com>2015-07-18 10:12:48 -0700
committerXiangrui Meng <meng@databricks.com>2015-07-18 10:12:48 -0700
commitb9ef7ac98c3dee3256c4a393e563b42b4612a4bf (patch)
tree63a872f6494ff579d2bbe98dc291698e6d313211
parent1017908205b7690dc0b0ed4753b36fab5641f7ac (diff)
downloadspark-b9ef7ac98c3dee3256c4a393e563b42b4612a4bf.tar.gz
spark-b9ef7ac98c3dee3256c4a393e563b42b4612a4bf.tar.bz2
spark-b9ef7ac98c3dee3256c4a393e563b42b4612a4bf.zip
[MLLIB] [DOC] Seed fix in mllib naive bayes example
Previous seed resulted in empty test data set. Author: Paweł Kozikowski <mupakoz@gmail.com> Closes #7477 from mupakoz/patch-1 and squashes the following commits: f5d41ee [Paweł Kozikowski] Mllib Naive Bayes example data set enlarged
-rw-r--r--data/mllib/sample_naive_bayes_data.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/mllib/sample_naive_bayes_data.txt b/data/mllib/sample_naive_bayes_data.txt
index 981da382d6..bd22bea3a5 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