GitHub user yanboliang opened a pull request:

    https://github.com/apache/spark/pull/15930

    [][][] Fix spark.glm throws errors when fitting on collinear data

    ## What changes were proposed in this pull request?
    * Fix spark.glm throws errors when fitting on collinear data, since 
standard error of coefficients, t value and p value are not available in this 
condition.
    * GLM summary should throw exception if users want to get standard error of 
coefficients, t value and p value, but actually they are not existing due to 
the underlying WLS was solved by local "l-bfgs".
    
    ## How was this patch tested?
    Add unit tests.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/yanboliang/spark spark-18501

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/spark/pull/15930.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 #15930
    
----
commit 187af1423f3c9bf058b0d1347ad7774fd91f9241
Author: Yanbo Liang <yblia...@gmail.com>
Date:   2016-11-18T08:49:59Z

    GLM Summary should throw exception if the underlying WLS was solved by 
local l-bfgs.

commit 1fabd8907e168f0c8e3c9299dd234a64f843acce
Author: Yanbo Liang <yblia...@gmail.com>
Date:   2016-11-18T09:15:14Z

    Cut too long line.

----


---
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

Reply via email to