diff options
author | Paweł Kozikowski <mupakoz@gmail.com> | 2015-07-18 10:12:48 -0700 |
---|---|---|
committer | Xiangrui Meng <meng@databricks.com> | 2015-07-18 10:12:48 -0700 |
commit | b9ef7ac98c3dee3256c4a393e563b42b4612a4bf (patch) | |
tree | 63a872f6494ff579d2bbe98dc291698e6d313211 /data/mllib | |
parent | 1017908205b7690dc0b0ed4753b36fab5641f7ac (diff) | |
download | spark-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
Diffstat (limited to 'data/mllib')
-rw-r--r-- | data/mllib/sample_naive_bayes_data.txt | 6 |
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 |