Skip to content
Snippets Groups Projects
Commit fc5fee83 authored by Yanbo Liang's avatar Yanbo Liang
Browse files

[SPARK-18501][ML][SPARKR] Fix spark.glm errors when fitting on collinear data


## What changes were proposed in this pull request?
* Fix SparkR ```spark.glm``` errors when fitting on collinear data, since ```standard error of coefficients, t value and p value``` are not available in this condition.
* Scala/Python GLM summary should throw exception if users get ```standard error of coefficients, t value and p value``` but the underlying WLS was solved by local "l-bfgs".

## How was this patch tested?
Add unit tests.

Author: Yanbo Liang <ybliang8@gmail.com>

Closes #15930 from yanboliang/spark-18501.

(cherry picked from commit 982b82e3)
Signed-off-by: default avatarYanbo Liang <ybliang8@gmail.com>
parent 3be2d1e0
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment