[ https://issues.apache.org/jira/browse/SPARK-16618?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Sean Owen resolved SPARK-16618. ------------------------------- Resolution: Not A Problem Sorry, I mean BinaryClassificationMetrics. That's where these methods are. They're trivial to use if you will just transform the output of NaiveBayesModel.predictProbabilities. This is something you need to do yourself, but it's straightforward. It doesn't get much easier, not enough to justify a special method. JIRA isn't for this kind of question, and this issue should not be reopened. > Binary classification using Naive bayes > ---------------------------------------- > > Key: SPARK-16618 > URL: https://issues.apache.org/jira/browse/SPARK-16618 > Project: Spark > Issue Type: Bug > Components: ML, MLlib > Affects Versions: 1.6.2 > Reporter: mahendra singh > Original Estimate: 96h > Remaining Estimate: 96h > > spark naive bayes does not support for binary classification . I checked with > both ML and MLLIB . According to current scenario Naive bayes only support > multi class classification . We have to write code for binary classification > also .As we know logistic regression support binary classification . Mean > we can not get ROC and PR curve using spark naive , even if we give only two > class( category or distinct label values) -- 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