-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[tests][dask] test all boosting types (fixes #3896) #4119
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great, thanks so much for the contribution amd for documenting the issues you faced with random forest mode in #4118. @StrikerRUS are you ok with this increase in the number of tests? I think these are providing valuable new coverage and are worth it, but want to get your opinion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@StrikerRUS are you ok with this increase in the number of tests? I think these are providing valuable new coverage and are worth it, but want to get your opinion.
Thank you. I support this and think this is valuable.
Just one question below.
assert_eq(s1, s2, atol=0.01) | ||
assert_eq(p1_proba, p2_proba, atol=0.8) | ||
else: | ||
assert_eq(p1, p2) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we dropping assert_eq(s1, s2)
from the else
branch?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That was totally my bad, I lost it when splitting the statements. I've included it in
5d7001d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thanks for catching it @StrikerRUS ! I missed it too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, many thanks!
This pull request has been automatically locked since there has not been any recent activity since it was closed. To start a new related discussion, open a new issue at https://github.com/microsoft/LightGBM/issues including a reference to this. |
This includes all boosting types (gbdt, rf, goss, dart) in
test_classifier
,test_regressor
andtest_ranker