[ 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 Use MulticlassMetrics, but, with 4 points, ROC or PR curves are going to be mostly meaningless. > 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