-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
TST add test_binomial_vs_alternative_formulation #26298
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
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.
Thank you for the PR!
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.
Small nit, otherwise LGTM
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com>
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.
LGTM but since I pushed a change since the last time @thomasjpfan reviewed, I'll leave the merger to him to ensure all still looks well
Co-authored-by: Thomas J. Fan <thomasjpfan@gmail.com> Co-authored-by: Meekail Zain <zainmeekail@gmail.com>
Reference Issues/PRs
Makes #26278 smaller
What does this implement/fix? Explain your changes.
It adds a test for the binomial loss function that compares with an alternative formulation. This test is taken from
sklearn.ensemble.test.test_gradient_boosting_loss_functions.py
,test_binomial_deviance
(which will be removed with #26278).Any other comments?