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/01/22 02:25:39 UTC
[jira] [Resolved] (SPARK-12908) Add tests to make sure that
ml.classification.LogisticRegression returns meaningful result when labels
are the same without intercept
[ https://issues.apache.org/jira/browse/SPARK-12908?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
DB Tsai resolved SPARK-12908.
-----------------------------
Resolution: Fixed
Fix Version/s: 2.0.0
Issue resolved by pull request 10862
[https://github.com/apache/spark/pull/10862]
> Add tests to make sure that ml.classification.LogisticRegression returns meaningful result when labels are the same without intercept
> -------------------------------------------------------------------------------------------------------------------------------------
>
> Key: SPARK-12908
> URL: https://issues.apache.org/jira/browse/SPARK-12908
> Project: Spark
> Issue Type: Improvement
> Components: ML
> Affects Versions: 1.6.0
> Reporter: DB Tsai
> Assignee: DB Tsai
> Fix For: 2.0.0
>
>
> This will be only adding new tests as followup PR to https://github.com/apache/spark/pull/10743
> When all labels are the same, it's a dangerous ground for LogisticRegression without intercept to converge. GLMNET doesn't support this case, and will just exit. GLM can train, but will have a warning message saying the algorithm doesn't converge.
--
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