Github user mengxr commented on a diff in the pull request:

    https://github.com/apache/spark/pull/653#discussion_r12312420
  
    --- 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 --
    
    Maybe we should do that in a separate PR, because `MLUtils#loadLabeledData` 
and `MLUtils#saveLabledData` need to be updated as well. I really want to find 
names better describing those two functions, since they only work for dense 
data.


---
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 infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to