[ 
https://issues.apache.org/jira/browse/SPARK-16618?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15383674#comment-15383674
 ] 

Sean Owen commented on SPARK-16618:
-----------------------------------

Multi-class is just binary with n=2. It's trivial to do binary classification.

> 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
>             Fix For: 1.6.3
>
>   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 .   



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to