-
-
Notifications
You must be signed in to change notification settings - Fork 26k
ENH add Array API support for d2_pinball_score
and d2_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 our terms of service and privacy 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?
ENH add Array API support for d2_pinball_score
and d2_absolute_error_score
#31671
Conversation
d2_absolute_error_score
and `d2_pinball_sc…d2_pinball_score
and d2_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 the quantile
function to handle cases where sample_weight
is None
. 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! |
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 at data-apis/array-api-extra#340 (comment) let's continue discussion over there |
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