[SPARK-17157][SPARKR][WIP]: Add multiclass logistic regression SparkR Wrapper#14818
[SPARK-17157][SPARKR][WIP]: Add multiclass logistic regression SparkR Wrapper#14818wangmiao1981 wants to merge 4 commits intoapache:masterfrom
Conversation
|
Test build #64441 has finished for PR 14818 at commit
|
|
We may want to use a different name? glmnet related name could be confusing if it is actually only multiclass logistic. |
|
This is going to have to wait. We are changing the interface completely. See https://issues.apache.org/jira/browse/SPARK-17163. |
|
cool, thanks for the heads up @sethah - please loop us in for the R side changes. |
|
In fact, we are actually just eliminating the My apologies for the confusion, I hadn't seen this Jira until just now. |
|
Right - I suspect we do need to change to R interface though which is why I mention it. Thanks! |
|
OK. I will wait for the interface refactoring to continue this JIRA. Now, I just leave it as a placeholder. Later on, I will change the name of the JIRA. Thanks! |
|
Test build #64489 has finished for PR 14818 at commit
|
|
#14834 is merged now :) |
|
Thanks! I will update the PR accordingly. |
|
thanks - let's review if the name |
|
Yes. I am reviewing the code in #14834 to check if we just have to modify existing wrapper to be consistent with Scala side API. |
|
@felixcheung https://web.stanford.edu/~hastie/glmnet/glmnet_alpha.html |
|
|
|
@felixcheung For Spark, it supports both Thanks! |
|
Test build #65833 has finished for PR 14818 at commit
|
|
If we are closely matching the capability of glmnet then we could name it From what you have described perhaps it makes sense to add to |
|
@felixcheung If I added it to
With this interface, I can't add |
|
Could you elaborate what's incompatible? |
|
For example:
should be modified to accept these parameters. |
|
make sense, I think then we should have a separate function |
|
Thanks for your reply! Now, I am working in a fresh branch. Will submit another PR and close this old one later. |
|
@felixcheung I opened #15365 based on our discussion in this PR. I close this PR now and please review #15365 . Thanks! |
## What changes were proposed in this pull request? As we discussed in #14818, I added a separate R wrapper spark.logit for logistic regression. This single interface supports both binary and multinomial logistic regression. It also has "predict" and "summary" for binary logistic regression. ## How was this patch tested? New unit tests are added. Author: wm624@hotmail.com <wm624@hotmail.com> Closes #15365 from wangmiao1981/glm.
## What changes were proposed in this pull request? As we discussed in apache#14818, I added a separate R wrapper spark.logit for logistic regression. This single interface supports both binary and multinomial logistic regression. It also has "predict" and "summary" for binary logistic regression. ## How was this patch tested? New unit tests are added. Author: wm624@hotmail.com <wm624@hotmail.com> Closes apache#15365 from wangmiao1981/glm.
## What changes were proposed in this pull request? As we discussed in apache#14818, I added a separate R wrapper spark.logit for logistic regression. This single interface supports both binary and multinomial logistic regression. It also has "predict" and "summary" for binary logistic regression. ## How was this patch tested? New unit tests are added. Author: wm624@hotmail.com <wm624@hotmail.com> Closes apache#15365 from wangmiao1981/glm.
What changes were proposed in this pull request?
(Please fill in changes proposed in this fix)
Add SparkR wrapper for multicalss logistic regression.
Not ready for review now. Only R part code is added.
How was this patch tested?
(Please explain how this patch was tested. E.g. unit tests, integration tests, manual tests)
(If this patch involves UI changes, please attach a screenshot; otherwise, remove this)