[SparkR][SPARK-21381]:SparkR: pass on setHandleInvalid for classification algorithms#18605
[SparkR][SPARK-21381]:SparkR: pass on setHandleInvalid for classification algorithms#18605wangmiao1981 wants to merge 5 commits intoapache:masterfrom
Conversation
|
Test build #79546 has finished for PR 18605 at commit
|
|
@felixcheung This is a follow-up PR of JIRA-20307. |
|
Trigger windows check. |
|
Reopen for windows check |
felixcheung
left a comment
There was a problem hiding this comment.
could you update this to make it consistent with the earlier PR? I think it's mostly the param document wording
|
Sure. I am reading the #18613 comments. Just come back from a business travel. Thanks! |
|
Test build #79678 has finished for PR 18605 at commit
|
|
@yanboliang after #18613, unit tests fails if "skip" is used. For example, It fails the as if "error" is used. If I change "skip" to "keep", then the predictions$click[0] is NULL.
I am not sure whether this is expected or there is a bug. Before, the units work fine. |
|
@wangmiao1981 This is expected, see my comment here . This uncovers an existing bug for |
|
@yanboliang Thanks for your reply! I will change the unit tests now. |
|
Test build #79728 has finished for PR 18605 at commit
|
|
Test build #79734 has finished for PR 18605 at commit
|
|
@yanboliang I have made changes accordingly. Thanks! |
|
@felixcheung Can you take a look? Thanks! |
|
I'll take a look |
felixcheung
left a comment
There was a problem hiding this comment.
sorry about the delay, one comment otherwise LG
R/pkg/R/mllib_tree.R
Outdated
There was a problem hiding this comment.
this was only for classification though, so the original text in classification model. we should keep.
ditto for decisionTree and gbt in this .R file
|
Test build #80081 has finished for PR 18605 at commit
|
|
merged to master |
What changes were proposed in this pull request?
SPARK-20307 Added handleInvalid option to RFormula for tree-based classification algorithms. We should add this parameter for other classification algorithms in SparkR.
This is a followup PR for SPARK-20307.
How was this patch tested?
New Unit tests are added.