Github user srowen commented on a diff in the pull request:
https://github.com/apache/spark/pull/653#discussion_r12311692
--- Diff: mllib/data/sample_naive_bayes_data.txt ---
@@ -1,6 +1,6 @@
-0, 1 0 0
-0, 2 0 0
-1, 0 1 0
-1, 0 2 0
-2, 0 0 1
-2, 0 0 2
+0,1 0 0
--- End diff --
Got it, so you think I should change both files to remove the commas, so
that they are consistent with libsvm format? In both cases there is just one
label / predicted value.
---
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.
---