GitHub user dbtsai opened a pull request: https://github.com/apache/spark/pull/10862
[SPARK-12908][ML] Add warning message for LogisticRegression for potential converge issue 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. You can merge this pull request into a Git repository by running: $ git pull https://github.com/dbtsai/spark add-tests Alternatively you can review and apply these changes as the patch at: https://github.com/apache/spark/pull/10862.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #10862 ---- commit e68cc38134ca78d5e8425aad4b1b5fd36c781ccc Author: DB Tsai <d...@netflix.com> Date: 2016-01-21T06:58:36Z add warning message ---- --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so, or if the feature is enabled but not working, please contact infrastructure at infrastruct...@apache.org or file a JIRA ticket with INFRA. --- --------------------------------------------------------------------- To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org For additional commands, e-mail: reviews-h...@spark.apache.org