Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork26.5k
TST Add array API continuous metric common tests#32793
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Conversation
OmarManzoor left a comment
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 the PR@lucyleeow
| if"brier"inmetric.__name__: | ||
| # `brier_score_loss` and `d2_brier_score` require specifying the | ||
| # `pos_label` | ||
| metric_kwargs["pos_label"]="yes" |
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 is not needed for the multi class case.
lucyleeow commentedNov 26, 2025
@OmarManzoor I've just realised the string I am wondering whether we separate testing of:
I've actually have a PR to add a common test to check for mixed array input support:#32755. It means that:
cc@ogrisel for your thoughts too. |
Uh oh!
There was an error while loading.Please reload this page.
OmarManzoor commentedNov 26, 2025
Yes that should be good I think. The reason the tests for |
Uh oh!
There was an error while loading.Please reload this page.
lucyleeow commentedNov 27, 2025
Thanks@OmarManzoor ! I think I need to push#32755 first, before this can go in. |
Reference Issues/PRs
Ref:https://github.com/scikit-learn/scikit-learn/pull/32422/files#r2548690179
What does this implement/fix? Explain your changes.
Moves the array API tests for continuous metrics added in#32422 to
test_common.py, so they can be re-used for other continuous metrics (e.g.,#32626)Any other comments?
cc@OmarManzoor