You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@spark.apache.org by "Joseph K. Bradley (JIRA)" <ji...@apache.org> on 2015/08/24 20:44:45 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=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: issues-unsubscribe@spark.apache.org
For additional commands, e-mail: issues-help@spark.apache.org