[
https://issues.apache.org/jira/browse/SPARK-10179?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14709833#comment-14709833
]
Joseph K. Bradley commented on SPARK-10179:
-------------------------------------------
This is not a bug; it's a missing feature. This would be nice to add, but
[SPARK-7159] will be higher priority.
> LogisticRegressionWithSGD does not multiclass
> ----------------------------------------------
>
> Key: SPARK-10179
> URL: https://issues.apache.org/jira/browse/SPARK-10179
> Project: Spark
> Issue Type: Bug
> Components: MLlib
> Environment: Ubuntu 14.04, spark 1.4.1
> Reporter: Shiqiao Du
>
> 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: [email protected]
For additional commands, e-mail: [email protected]