Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork26k
ENH add Array API support ford2_pinball_score
andd2_absolute_error_score
#31671
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
github-actionsbot commentedJun 28, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
d2_absolute_error_score
and `d2_pinball_sc…d2_pinball_score
andd2_absolute_error_score
…pi_compliance`'s `xfail`.
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.
I think we need to add Array API support for thequantile
function to handle cases wheresample_weight
isNone
. I'll work on that later.
Scipy Their I'll open an RFC issue about adding quantile to array api extra, it's been on my todo for a while. |
data-apis/array-api-extra#340 may take a long while, so we should still decide here what we want to do, even if it is 'temporary'. |
Thanks@lucyleeow! |
OmarManzoor commentedJun 30, 2025 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Do we really need a dedicated implementation for |
|
@lucascolley Thanks for the feedback. I think it makes sense to add it there then. Do we need a new implementation though when we don't really need it? I guess it would require copying the relevant code from scipy? |
Yes, it is good to future-proof and not rely on existing libraries. cf. Tim's comment over atdata-apis/array-api-extra#340 (comment) let's continue discussion over there |
Also, I am not sure all libraries support weighted quantiles. |
Reference Issues/PRs
Towards#26024
What does this implement/fix? Explain your changes.
Adds Array API support for
d2_pinball_score
andd2_absolute_error_score
.Any other comments?
N/A