-
-
Notifications
You must be signed in to change notification settings - Fork 25.8k
Test sample_weight in common tests #5367
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
Comments
Wasn't there an issue for this to refactor common tests? I remember someone proposing to refactor |
If it's already somewhere, please close this issue. |
Not that I remember. |
@MechCoder thanks for making the link to #5444 - I had only heard talk about this being something that needs doing. Hadn't seen the issue. A PR is open, but running into difficulties because general assumptions on effect of sample weights turned out to be pretty weak. |
+1 to this. See #5526 |
Thanks for the cleanup @cmarmo. Indeed, @rth's #17176 implements 2 kinds of sample weight invariance checks that are run as part of the common test suite. We could extend this to testing the semantics that multiplying the weigth of some samples by 2.0 is equivalent to duplicating those samples. But this can be tracked in #15657 instead. |
As discuss in #2752, it would be nice to test sample weight in common tests.
The text was updated successfully, but these errors were encountered: