GitHub user zhengruifeng opened a pull request:
https://github.com/apache/spark/pull/15955
[SPARK-18434][ML][FOLLOWUP] Add checking for setSolver in GLM
## What changes were proposed in this pull request?
add checking in GLM.setSolver to forbidden unsupported solvers:
`val glm = new GeneralizedLinearRegression().setSolver("123")`
## How was this patch tested?
existing tests
cc @yanboliang
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zhengruifeng/spark glr_solver
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/spark/pull/15955.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 #15955
----
commit 943edba8aeed9a2e9d265c747336b755c79e6f45
Author: Zheng RuiFeng <[email protected]>
Date: 2016-11-21T05:14:50Z
create pr
----
---
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 [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]