[ https://issues.apache.org/jira/browse/SPARK-15449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15296854#comment-15296854 ]
Miao Wang commented on SPARK-15449: ----------------------------------- [~srowen] Scala example also uses data/mllib/sample_naive_bayes_data.txt. In ML of 2.0, it uses data/mllib/sample_libsvm_data.txt already. But MLLib example still uses sample_naive_bayes_data.txt In 1.6.1, ML doesn't have NaiveBayes example. Question: Shall I change MLLib example in 1.6.1 only or both 1.6.1 and 2.0? > Wrong Data Format - Documentation Issue > --------------------------------------- > > Key: SPARK-15449 > URL: https://issues.apache.org/jira/browse/SPARK-15449 > Project: Spark > Issue Type: Documentation > Components: Examples > Affects Versions: 1.6.1 > Reporter: Kiran Biradarpatil > Priority: Minor > > JAVA example given for MLLib NaiveBayes at > http://spark.apache.org/docs/latest/mllib-naive-bayes.html expects the data > in LibSVM format. But the example data in MLLib > data/mllib/sample_naive_bayes_data.txt is not in right format. > So please rectify the sample data file or the the implementation example. > Thanks! > Kiran -- This message was sent by Atlassian JIRA (v6.3.4#6332) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org