Skip to content
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

Merged
merged 3 commits into from
Mar 30, 2021

Conversation

jmoralez
Copy link
Collaborator

This includes all boosting types (gbdt, rf, goss, dart) in test_classifier, test_regressor and test_ranker

Copy link
Collaborator

@jameslamb jameslamb left a 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.

Copy link
Collaborator

@StrikerRUS StrikerRUS left a 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)
Copy link
Collaborator

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?

Copy link
Collaborator Author

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

Copy link
Collaborator

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

Copy link
Collaborator

@StrikerRUS StrikerRUS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, many thanks!

@StrikerRUS StrikerRUS merged commit f879018 into microsoft:master Mar 30, 2021
@jmoralez jmoralez deleted the tests-boosting_types branch March 30, 2021 16:06
@github-actions
Copy link

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.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants