You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "DB Tsai (JIRA)" <ji...@apache.org> on 2016/04/14 23:17:25 UTC

[jira] [Commented] (SPARK-10179) LogisticRegressionWithSGD does not multiclass

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

DB Tsai commented on SPARK-10179:
---------------------------------

Since we're moving to ML api, we will not add new features into mllib based framework. I'll close this JIRA. Thanks.

> LogisticRegressionWithSGD does not multiclass 
> ----------------------------------------------
>
>                 Key: SPARK-10179
>                 URL: https://issues.apache.org/jira/browse/SPARK-10179
>             Project: Spark
>          Issue Type: New Feature
>          Components: MLlib
>            Reporter: Shiqiao Du
>            Priority: Minor
>
> LogisticRegressionWithSGD does not support Multi-Class input while LogisticRegressionWithLBFGS is OK.
> I found this line in error
> ```
> 15/08/24 14:46:57 ERROR DataValidators: Classification labels should be 0 or 1. Found 50 invalid labels
> ```
> In LogisticRegressionWithLBFGS there is setNumClasses method but LogisticRegressionWithSGD does not have this method.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org