Uh oh!
There was an error while loading. Please reload this page.
[SPARK-19155][ML] Make family case insensitive in GLM - #16675
[SPARK-19155][ML] Make family case insensitive in GLM#16675actuaryzhang wants to merge 3 commits into
Conversation
actuaryzhang
commented
Jan 23, 2017
I would prefer that |
yanboliang
commented
Jan 23, 2017
@actuaryzhang I think the change is not appropriate, the function |
actuaryzhang
commented
Jan 23, 2017
@yanboliang Thanks for the quick response. How about the new commit, where I just change the value from |
yanboliang
commented
Jan 23, 2017
Looks good, I'll merge if it passes test. Thanks. |
SparkQA
commented
Jan 23, 2017
Test build #71819 has finished for PR 16675 at commit
|
SparkQA
commented
Jan 23, 2017
Test build #71820 has finished for PR 16675 at commit
|
actuaryzhang
commented
Jan 23, 2017
@yanboliang Thanks. Seems to have passed tests. |
## What changes were proposed in this pull request? This is a supplement to PR #16516 which did not make the value from `getFamily` case insensitive. Current tests of poisson/binomial glm with weight fail when specifying 'Poisson' or 'Binomial', because the calculation of `dispersion` and `pValue` checks the value of family retrieved from `getFamily` ``` model.getFamily == Binomial.name || model.getFamily == Poisson.name ``` ## How was this patch tested? Update existing tests for 'Poisson' and 'Binomial'. yanboliang felixcheung imatiach-msft Author: actuaryzhang <actuaryzhang10@gmail.com> Closes#16675 from actuaryzhang/family. (cherry picked from commit f067ace) Signed-off-by: Yanbo Liang <ybliang8@gmail.com>
yanboliang
commented
Jan 23, 2017
LGTM, merged into master and branch-2.1. Thanks. |
## What changes were proposed in this pull request? This is a supplement to PR apache#16516 which did not make the value from `getFamily` case insensitive. Current tests of poisson/binomial glm with weight fail when specifying 'Poisson' or 'Binomial', because the calculation of `dispersion` and `pValue` checks the value of family retrieved from `getFamily` ``` model.getFamily == Binomial.name || model.getFamily == Poisson.name ``` ## How was this patch tested? Update existing tests for 'Poisson' and 'Binomial'. yanboliang felixcheung imatiach-msft Author: actuaryzhang <actuaryzhang10@gmail.com> Closesapache#16675 from actuaryzhang/family.
## What changes were proposed in this pull request? This is a supplement to PR apache#16516 which did not make the value from `getFamily` case insensitive. Current tests of poisson/binomial glm with weight fail when specifying 'Poisson' or 'Binomial', because the calculation of `dispersion` and `pValue` checks the value of family retrieved from `getFamily` ``` model.getFamily == Binomial.name || model.getFamily == Poisson.name ``` ## How was this patch tested? Update existing tests for 'Poisson' and 'Binomial'. yanboliang felixcheung imatiach-msft Author: actuaryzhang <actuaryzhang10@gmail.com> Closesapache#16675 from actuaryzhang/family.
What changes were proposed in this pull request?
This is a supplement to PR #16516 which did not make the value from
getFamilycase insensitive. Current tests of poisson/binomial glm with weight fail when specifying 'Poisson' or 'Binomial', because the calculation ofdispersionandpValuechecks the value of family retrieved fromgetFamilyHow was this patch tested?
Update existing tests for 'Poisson' and 'Binomial'.
@yanboliang@felixcheung@imatiach-msft