You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TST Add common test for mixed y string and array API X for estimators #34094
Add common estimator test for classifiers to check that string y and array API X input works for BOTH fit and score (see #33822) without raising errors and output type/shape is as expected:
y should be a container of string objects/dtype and we should parametrize over yield_namespace_device_dtype_combination for X (similar to the test_array_api_classification_mixed_string_numeric_input test)
array API dispatch should be enabled
For fit check:
I think we can re-use _check_array_api_core but we either need to add an extra parameter to control data input generation, or refactor data generation out of _check_array_api_core
We may want to add the score check to _check_array_api_core as well.
Hi @Rishab260, that's a rather complex PR that requires a few months of familiarity with Array API. I suppose @lucyleeow suggested that she would work on this or someone else from the core team.
Your contributions so far look like you're careful, thoughtful and responsive, which is all very good, but they don't show familiarity with the topic. What about reviewing some array API related PRs first?
Hi @Rishab260, that's a rather complex PR that requires a few months of familiarity with Array API. I suppose @lucyleeow suggested that she would work on this or someone else from the core team.
Your contributions so far look like you're careful, thoughtful and responsive, which is all very good, but they don't show familiarity with the topic. What about reviewing some array API related PRs first?
Hi @StefanieSenger, Thanks for your inputs. I appreciate it very much. Yes, I think reviewing API related PRs is something I could probably take up right now. Thanks. 😃
As discussed in #33822 we can also consider a follow-up / extension to cover what happens when y is a pandas series with string values and X is an array API compliant input.
Activity
ogrisel commentedon May 23, 2026
Expanding _check_array_api_core will make it narural to also ch3ck .score with string labels in y.
Rishab260 commentedon May 24, 2026
Can I take this one up? Thanks.
StefanieSenger commentedon May 24, 2026
Hi @Rishab260, that's a rather complex PR that requires a few months of familiarity with Array API. I suppose @lucyleeow suggested that she would work on this or someone else from the core team.
Your contributions so far look like you're careful, thoughtful and responsive, which is all very good, but they don't show familiarity with the topic. What about reviewing some array API related PRs first?
Rishab260 commentedon May 24, 2026
Hi @StefanieSenger, Thanks for your inputs. I appreciate it very much. Yes, I think reviewing API related PRs is something I could probably take up right now. Thanks. 😃
ogrisel commentedon May 28, 2026
@lucyleeow I agree with this plan.
As discussed in #33822 we can also consider a follow-up / extension to cover what happens when y is a pandas series with string values and X is an array API compliant input.